phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
12
apps/smokes/std/array_len_min.hako
Normal file
12
apps/smokes/std/array_len_min.hako
Normal file
@ -0,0 +1,12 @@
|
||||
// Minimal reproduction for ArrayBox.length() fast-path
|
||||
static box Main {
|
||||
main() {
|
||||
local a
|
||||
a = new ArrayBox()
|
||||
// Expect: print 0, return 0
|
||||
print(a.length())
|
||||
if a.length() != 0 { return 1 }
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user