-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
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
Strange interpretation of typealias a (Int)
#18002
Labels
parser
Language parsing and surface syntax
Comments
ihnorton
added a commit
to ihnorton/julia
that referenced
this issue
Aug 27, 2016
Also removes hack for the old space-optional call syntax.
ihnorton
added a commit
to ihnorton/julia
that referenced
this issue
Aug 28, 2016
Also removes hack for the old space-optional call syntax.
JeffBezanson
added a commit
that referenced
this issue
Oct 12, 2016
Fix #18002: parse `typealias` args space-sensitive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to write the equivalent of
typealias a (Int)
(with parenthesis) for clarity. Julia complains that no spaces before the parenthesis is allows -- that shouldn't apply here.Also,
typealias a(Int)
interprets(Int)
as a one-element tuple. That shouldn't be either since it should definea
to be a type, not a tuple.The text was updated successfully, but these errors were encountered: