-
-
Notifications
You must be signed in to change notification settings - Fork 258
Fails to parse Flow-annotated polymorphic methods which name is a keyword #48
Comments
I tried to solve this some months ago, but couldn't figure out how to fix. This not only happens for |
declare class A {
while<T>(): void; // this parses
do<T>(): void; // this does not
}
|
The same for get/set |
Fixed the get/set part: #55 |
@danez it seems that your examples work on master |
No both are not working yet. |
Hmm, they work for me. Do you have jsx plugin enabled? |
yes
|
I've got a WIP of a fix for this. I think there's still some edge cases to cover to match Flow though (or, they might be bugs in Flow..) I'll probably have a PR ready this weekend. |
copied from https://phabricator.babeljs.io/T1737
The text was updated successfully, but these errors were encountered: