AzureMarker / intellij-lalrpop

Jetbrains plugin for the LALRPOP parser-generator
MIT License
16 stars 2 forks source link

Inspection for `<>` between curly braces without named symbols? #49

Open dnbln opened 2 years ago

dnbln commented 2 years ago
error: Using `<>` between curly braces (e.g., `{<>}`) only works when your parsed values have been given names (e.g., `<x:Foo>`, not just `<Foo>`)
AzureMarker commented 2 years ago

Yeah, that makes sense because that expansion looks like this (with names):

{ x: x }
// or equivalently just
{ x }