Skip to content
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

Cannot parse inline named argument types #2271

Closed
rickyvetter opened this issue Nov 20, 2018 · 3 comments
Closed

Cannot parse inline named argument types #2271

rickyvetter opened this issue Nov 20, 2018 · 3 comments

Comments

@rickyvetter
Copy link
Contributor

This code

let foo = (first: ((~one: 'one, ~two: 'two) => 'three)) => first(~one=1);

refmts too

let foo = (first: (~one: 'one, ~two: 'two) => 'three) => first(~one=1);

Which I believe should be valid - but no longer parses because it detects a tuple.

@anmonteiro
Copy link
Member

This is not a bug in current master. I think @IwanKaramazow fixed it recently.

@rickyvetter
Copy link
Contributor Author

Awesome thanks!

@IwanKaramazow
Copy link
Contributor

Yes, fixed it a while ago :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants