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> function Tuple end
WARNING: Constructor for type "Tuple" was extended in `Main` without explicit qualification or import.
NOTE: Assumed "Tuple" refers to `Base.Tuple`. This behavior is deprecated and may differ in future versions.
NOTE: This behavior may have differed in Julia versions prior to 1.12.
Hint: If you intended to create a new generic function of the same name, use `function Tuple end`.
Hint: To silence the warning, qualify `Tuple` as `Base.Tuple` in the method signature or explicitly `import Base: Tuple`.
Tuple
The first hint suggests using function Tuple end will have a different effect than what I did. However function Tuple end is exactly what I did!
Not sure if the hint itself is wrong here, in which case it could be corrected to suggest using global Tuple; function Tuple end, or if function Tuple end on its own should behave differently.
The first hint suggests using
function Tuple end
will have a different effect than what I did. Howeverfunction Tuple end
is exactly what I did!Not sure if the hint itself is wrong here, in which case it could be corrected to suggest using
global Tuple; function Tuple end
, or iffunction Tuple end
on its own should behave differently.cc @Keno
The text was updated successfully, but these errors were encountered: