005 type declaration

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

Type declarations parsed successfully

Expected output

Type declarations parsed successfully

Flows

flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Player, source: age: i32, name: []const u8,)
flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Position, source: x: f32, y: f32,)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "Type declarations parsed successfully")

Test Configuration

MUST_RUN