dynamicexpresso / DynamicExpresso

C# expressions interpreter
http://dynamic-expresso.azurewebsites.net/
MIT License
1.91k stars 364 forks source link

No longer move to the next token when parsing an `is` or `as` expression #289

Closed metoule closed 1 year ago

metoule commented 1 year ago

After the changes introduced in #178, the parser no longer needs to move to the token after the known type.

Fixes #287

metoule commented 1 year ago

Good idea, I've added the test for the case mentioned in the bug report