wip(0.S3): the packages migrated by ludic migrate state packages - every package test green

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-25 14:02:21 +03:00
parent 1e8b5b0523
commit 07505e7ef2
294 changed files with 14996 additions and 14675 deletions

View file

@ -242,7 +242,10 @@ function ck_call_named(e: Node, name: pointer) -> pointer {
return xt
}
let g = ck_global(name)
if g != null and is_fn_type(g.ty) { return ck_call_sig(e, name, g.ty) }
if g != null and is_fn_type(g.ty) {
mg_ref(e.a, g) # 0.S2: a call through a var of a function type reads it
return ck_call_sig(e, name, g.ty)
}
ck_walk_args(e)
return "?"
}