Parser chokes on TypeScript method #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the context of crbug.com/445874747 I realized that the TypeScript grammar seems to choke on some perfectly valid TypeScript: I minimized it to this already.
Oh, just realized that the copied URL from the playground doesn't include the contents 👀 , so here's the TypeScript:
The issue was the
thisin the parameter list of the function type. Attached patch should help.Thanks!