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
Struct tuple type alias should give better error message
type Alias = struct(int * int)
This just errors with Unexpected symbol '(' in member definition
Unexpected symbol '(' in member definition
You really have to know to wrap the full signature for it to succeed. Optionally a docs entry would help too.
As this works:
type Alias = (struct(int * int))
The text was updated successfully, but these errors were encountered:
!!! I've hit that and thought it was a (rather odd) limitation of type aliases...
Another "some lisp baggage saves the day of some" moment 🙂
Sorry, something went wrong.
A good question imho is, should this even fail? I suppose I need to read the spec.
A good question imho is, should this even fail?
I suppose it should be possible to write an abbreviation this way.
No branches or pull requests
Struct tuple type alias should give better error message
This just errors with
Unexpected symbol '(' in member definition
You really have to know to wrap the full signature for it to succeed. Optionally a docs entry would help too.
As this works:
The text was updated successfully, but these errors were encountered: