LanguageDev / Yoakke

A collection of libraries for implementing compilers in .NET.
https://languagedev.github.io/Yoakke/
Apache License 2.0
143 stars 7 forks source link

Incorrect rule breaks source generator #158

Open kant2002 opened 8 months ago

kant2002 commented 8 months ago

Describe the bug I create following rule

[Rule($"comma_identifier_references_list : ({IdentifierReference} ('and' {IdentifierReference})*))")]

It breaks compilation in subtle way and source generator fails. Because it fails it produce tons of unrelated errors.