struct: glob state fix: init func internal state with glob state, some tests

This commit is contained in:
ProgramSnail 2026-05-06 15:20:44 +00:00
parent 5833e5949c
commit bd809ed1cf
2 changed files with 60 additions and 36 deletions

View file

@ -979,8 +979,9 @@ $s in stmt, f in X, x in X, a in X$
rule(
name: [ new reference copy value],
$types_0 = []$,
$vals_0 = []$,
// TODO: FIXME: introduce global types and vals
$types_0 = types_#[glob]$,
$vals_0 = vals_#[glob]$,
// NOTE: dashed arrow to fill context
$cl types_0, vals_0, mu_0 cr