Wrong error generated in formatter (in parser) when missing constant definition inside parametric bindings (but not first) #1738
Labels
dslx
DSLX (domain specific language) implementation / front-end
Describe the bug
You get misleading parse errors like
"Expected start of an expression; got: {"
or"Expected '}', got ','"
from xls/dslx/frontend/bindings.h:58 in the following cases:To Reproduce
First error:
Second error:
Expected behavior
Similar to the following example, I'd expect to get an error like: Cannot find a definition for name: "BAZ"
The text was updated successfully, but these errors were encountered: