We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:: behaves like an identifier except it can't be assigned to.
::
f(::) = :: works and defines the identity function.
f(::) = ::
f(::Any) = :: works, but raises UndefVarError when called.
f(::Any) = ::
UndefVarError
:: = 42 is invalid syntax. (Unexpected "=".)
:: = 42
I think that :: should be semantically equivalent to ::Any although possibly not parsed the same: macros might find the difference useful.
::Any
The text was updated successfully, but these errors were encountered:
(::)(::) = (::)(::) (::)((::)::typeof(::)) = :: ((::)(::)(::)::typeof(::))(Type){((::)(::)(::)::typeof(::))(typeof(typeof(::)))(typeof((::)(::)))}
Sorry, something went wrong.
Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should.
same as #18912 and fixed by #22947
No branches or pull requests
::
behaves like an identifier except it can't be assigned to.f(::) = ::
works and defines the identity function.f(::Any) = ::
works, but raisesUndefVarError
when called.:: = 42
is invalid syntax. (Unexpected "=".)I think that
::
should be semantically equivalent to::Any
although possibly not parsed the same: macros might find the difference useful.The text was updated successfully, but these errors were encountered: