120 kernel body typed var inline if

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

x 1
x 101
x 105

Expected output

✓ Zig✓ JavaScript
x 1
x 101
x 105

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (world, capacity: 8, source: x: f64, kind: f64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (world, source: x: 0.0, kind: 0.0)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (world, source: x: 1.0, kind: 1.0)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (world, source: x: (if (1.0 > 0.0) @as(f64, 5.0) else @as(f64, 9.0)), kind: 1.0)
flow ~init click a branch to expand · @labels scroll to their anchor
init (expr: world, source: )
flow ~query click a branch to expand · @labels scroll to their anchor
query (world)

Test Configuration

MUST_RUN LANGUAGES: zig js