clragon / swan

bring elegance to your flutter discussions
https://discord.gg/rflutterdev
MIT License
3 stars 0 forks source link

fix anonymous functions in new swa parser #3

Closed clragon closed 9 months ago

clragon commented 10 months ago

the new swa parser supports more syntax, including anonymous arrow functions, e.g. () => a or (a, b) => c however, currently the parser breaks on this input.

For reproduction:

A(() => b)