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 annotate parameters of => function #160

Closed
iccir opened this issue Nov 15, 2018 · 2 comments
Closed

Cannot annotate parameters of => function #160

iccir opened this issue Nov 15, 2018 · 2 comments
Milestone

Comments

@iccir
Copy link
Member

iccir commented Nov 15, 2018

The following code produces a parse error:

let foo = (a: String, b: String) => {
    return 5;
};
@iccir
Copy link
Member Author

iccir commented Nov 15, 2018

Related to #159

@iccir iccir added this to the 3.0 milestone Nov 19, 2018
iccir pushed a commit that referenced this issue Nov 19, 2018
@iccir
Copy link
Member Author

iccir commented Nov 19, 2018

Basic syntax is now supported by above commit (mostly via changes in the parser). Remaining work covered in #161

@iccir iccir closed this as completed Nov 19, 2018
iccir added a commit that referenced this issue Mar 9, 2023
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

1 participant