As an example I’m using Cairo to create an image. I defined a method:
using Cairo function image(size::Int) .... end
This function just does some base work for creating an image of size x size for me. However can’t do that do at:
ERROR: LoadError: error in method definition: function Cairo.image must be explicitly imported to be extended
Okay I don’t know what the image() function in Cairo is or does, but I’m not overridden it, improving it, or calling it. I just wanted to create my own function named “image”.
So do people just change the function definition to:
Or renamed their function? Maybe prefix all your function with “my_” or something?