Commit Graph

4 Commits

Author SHA1 Message Date
cyrgani 7df43d309c allow incomplete_features in more tests 2026-03-23 20:08:24 +00:00
Noah Lev 319735d8c9 Fix parsing of mgca const blocks in array repeat exprs
There was an inconsistency where in the case of array repeat
expressions, we forgot to eat the `const` keyword of mgca const blocks.
Thus, we ended up parsing them as an anon const containing an inline
const, instead of simply an anon const as they should be.

This commit fixes that issue and also makes the parsing for mgca const
blocks more consistent and simpler in general. For example, we avoid
doing a lookahead check to ensure there's a curly brace coming. There
should always be one after a `const` keyword in an expression context,
and that's handled by the mgca const block parsing function.
2025-12-30 11:30:31 -08:00
Gary Guo cfee72aa24 Fix tests and bless 2024-04-24 13:12:33 +01:00
Michael Goulet fdaac4e48e ConstBlocks are poly if their substs are poly 2023-01-16 20:09:31 +00:00