Files @ ed4fe8216eb0
Branch filter:

Location: CSY/reowolf/testdata/parser/counterexamples/import_bad_reporting.pdl - annotation

MH
Fix binding- and assignment-expression related typing issues.

Simpler solutions are better, so the typechecker is back to normal.
Instead we simply make sure that assignment expression is never
nested under another expression, and binding expressions may only
be nested under LogicalAnd-expressions. If only I knew why I thought
type shenanigans were a good idea in the first place...
// Bad reporting of EOF. Also main parser loop would be fine if pragmas, imports
// and declarations are mixed. Maybe force pragmas at top for readability...

#version 1

composite main() {}

#version 2

composite another() {}