✗
Failing This test is currently failing.
Failed: backend-exec
Error Details
output_emitted.zig:73:154: error: use of undeclared identifier '__koru_scan_find_8_0'
Failure Output
🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission)
Error: output_emitted.zig:73:154: error: use of undeclared identifier '__koru_scan_find_8_0'
{ const __koru_scan_in_8_0: []const u8 = "no digits here"; var __koru_pos: usize = 0; while (__koru_pos <= __koru_scan_in_8_0.len) { if (__koru_scan_find_8_0(__koru_scan_in_8_0, __koru_pos)) |__koru_sp| { const __koru_m = __koru_scan_in_8_0[__koru_sp[0]..__koru_sp[1]]; { const n = __koru_m; _ = &n; (struct { fn __kw(comptime __f: []const u8, __a: anytype) void { var __kb: [65536]u8 = undefined; const __ks = @import("std").fmt.bufPrint(&__kb, __f, __a) catch __kb[0..0]; @import("std").mem.doNotOptimizeAway(@import("std").posix.write(1, __ks) catch @as(usize, 0)); } }).__kw("n={s}\n", .{n});
^~~~~~~~~~~~~~~~~~~~ Code
// MIRROR of 640_014_scan_no_match: `std/regex:scan` relocated into an imported
// module.
//
// regex is a SYNTHESIZING library — it appends a compiled-automaton declaration
// and then refers to it by a minted name. That name is where the entry-file
// assumption lives: four different module names collapse into one in the entry
// file, so a name minted from the wrong domain is indistinguishable from a
// correct one until the declaration lands in a module.
import app/lib
app/lib:run()
Expected output
done
Flows
flow ~run click a branch to expand · @labels scroll to their anchor
run
Test Configuration
MUST_RUN