✗
Failing This test is currently failing.
Failed: backend-exec
Error Details
output_emitted.zig:113:11: error: local constant '__koru_rl_file' shadows local constant from outer scope
Failure Output
🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission)
Error: output_emitted.zig:113:11: error: local constant '__koru_rl_file' shadows local constant from outer scope
const __koru_rl_file = @import("std").fs.cwd().openFile(path, .{}) catch |err_0| {
^~~~~~~~~~~~~~
output_emitted.zig:77:11: note: previous declaration here
const __koru_rl_file = @import("std").fs.cwd().openFile(path, .{}) catch |err| {
^~~~~~~~~~~~~~ Code
// NESTING SWEEP — readlines nested UNDER an effect branch (position 3).
// The enclosing read-lines fires `! line` per line; under that effect branch
// we nest a second readlines construct.
import std/io
import std/fs
std/fs:read-lines(path: "tests/regression/810_AOC_2015/810_171_day17_part1/input.txt")
! line _ |> std/fs:read-lines(path: "tests/regression/810_AOC_2015/810_171_day17_part1/input.txt")
! line _ |> _
| done _ |> std/io:print.ln("done")
| failed _ |> std/io:print.ln("failed")
| done _ |> _
| failed _ |> _
Expected output
done
done
done
done
done
Flows
flow ~read-lines click a branch to expand · @labels scroll to their anchor
read-lines (path: "tests/regression/810_AOC_2015/810_171_day17_part1/input.txt")
Test Configuration
MUST_RUN