031 record literal arg unlowered

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

Error: output_emitted.zig:140:29: error: expected 'while', 'for', 'inline', or '{', found 'a number literal'
            break :blk { x: 10, y: 3 }.x;
                            ^~

Must fail at backend compile:

Code generation must reject the program.

Error output must contain

error:

Flows

flow ~use click a branch to expand · @labels scroll to their anchor
use (p: { x: 10, y: 3 })

Test Configuration

MUST_ERROR