Open nsajko opened 1 month ago
Works perfectly:
julia> @eval 3:::($Int)
3
:smile:
The reason this bothers me, sorry for not being clear before, is that :::
instead of ::
is an easy typo to make.
How do you propose it should parse?
Sorry for not being clear, I propose the syntax should be disallowed in one of the strict modes, xref #54903
So, instead of @eval 3:::($Int)
, one would have to write @eval 3 :: :($Int)
or @eval 3::(:($Int))
.
Perhaps a warning/syntax error would make more sense.