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
Currently :: parses as an identifier, allowing e.g.
julia> h(::) = ::
h (generic function with 1 method)
julia> h(1)
1
@JeffBezanson has suggested changing parsing of :: from Symbol("::") to Expr(Symbol("::")), which would give the same error as
julia> ::Any
ERROR: syntax: invalid "::" syntax
The one thing that does make this a little tricky is that packages have been using :(::) for Symbol("::") though arguably those packages should just change to the latter.
The text was updated successfully, but these errors were encountered:
Currently
::
parses as an identifier, allowing e.g.@JeffBezanson has suggested changing parsing of
::
fromSymbol("::")
toExpr(Symbol("::"))
, which would give the same error asThe one thing that does make this a little tricky is that packages have been using
:(::)
forSymbol("::")
though arguably those packages should just change to the latter.The text was updated successfully, but these errors were encountered: