You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>module A
function f endendmodule O
import..A: f
using..A: f
f(x) =0end
ERROR: error in method definition:function A.f must be explicitly imported to be extended
Stacktrace:
[...]
The error is fixed by deleting the using ..A: f line.
The problem is that if the using and import statements are in different files, it's not trivial to make sense of the error message when the thing you are looking at is the above import statement.
The text was updated successfully, but these errors were encountered:
Sorry for the unexpressive title
MWE:
The error is fixed by deleting the
using ..A: f
line.The problem is that if the
using
andimport
statements are in different files, it's not trivial to make sense of the error message when the thing you are looking at is the aboveimport
statement.The text was updated successfully, but these errors were encountered: