You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeScript gets into bad editing state with async arrow functions #37522
I'm not 100% sure, but I'm fairly certain this is caused by #35731. It's one of the only parser changes, and switches a lot of parsing checks on arrow functions to check the modifier list instead of ModifierFlags. Maybe Andrew Branch (@andrewbranch) (and even Cyrus Najmabadi (@CyrusNajmabadi), hi!) can help out here.
I am interested in incremental parsing and have a vague high-level familiarity with the algorithm, so if Nathan Shively-Sanders (@sandersn) runs out of time, wants a hand, or just wants to pawn this one off, I’d be happy to take a look.
I'm very likely to be out of time for this release, and I'm not familiar with the algorithm. So I'll give it to you, Andrew Branch (@andrewbranch)
I remember that PR was the second attempt, after Pranav Senthilnathan (@PranavSenthilnathan) and I abandoned the first attempt as "probably a bad idea". It might still be a bad idea!
Daniel Rosenwasser (@DanielRosenwasser) I can’t reproduce this in VS Code with 3.8.0-dev.20191219, 3.8.3, or current master, or in the playground. Are there any other tricks to get this to happen?
Activity
DanielRosenwasser commentedon Mar 23, 2020
First time I can see this behavior is
3.8.0-dev.20191219.DanielRosenwasser commentedon Mar 23, 2020
https://github.com/microsoft/TypeScript/pulls?q=is%3Apr+closed%3A2019-12-17..2019-12-19+is%3Aclosed might be (?) a reasonable filter to figure out what started this.
DanielRosenwasser commentedon Mar 23, 2020
I'm not 100% sure, but I'm fairly certain this is caused by #35731. It's one of the only parser changes, and switches a lot of parsing checks on arrow functions to check the modifier list instead of
ModifierFlags. Maybe Andrew Branch (@andrewbranch) (and even Cyrus Najmabadi (@CyrusNajmabadi), hi!) can help out here.andrewbranch commentedon Mar 26, 2020
I am interested in incremental parsing and have a vague high-level familiarity with the algorithm, so if Nathan Shively-Sanders (@sandersn) runs out of time, wants a hand, or just wants to pawn this one off, I’d be happy to take a look.
sandersn commentedon Apr 1, 2020
I'm very likely to be out of time for this release, and I'm not familiar with the algorithm. So I'll give it to you, Andrew Branch (@andrewbranch)
I remember that PR was the second attempt, after Pranav Senthilnathan (@PranavSenthilnathan) and I abandoned the first attempt as "probably a bad idea". It might still be a bad idea!
andrewbranch commentedon Apr 2, 2020
Daniel Rosenwasser (@DanielRosenwasser) I can’t reproduce this in VS Code with 3.8.0-dev.20191219, 3.8.3, or current master, or in the playground. Are there any other tricks to get this to happen?
andrewbranch commentedon Apr 8, 2020
Daniel Rosenwasser (@DanielRosenwasser) are you still able to reproduce this?
andrewbranch commentedon Apr 13, 2020
No one can reproduce this so I’m going to close... 😬