makepad/platform/script/tests
Kevin Boos 6d71eda34f
Splash: host->script hook calls find fns defined after a shadowing let (#1210)
`call_script_fn` looked names up in the module body scope, but a
`let`/`fn` that shadows a name already in scope opens a child scope,
and everything the script defines after it lands there, invisible from
the module scope. The Splash prefix's own `let fs` / `let host` can be
that shadow, so app hooks never resolved.

* The VM records the scope a root frame ended in (`ScriptBody::end_scope`)
* Splash looks hooks up there, falling back to the module scope
2026-09-03 21:58:22 +02:00
..
allocation_limit.rs Land platform, studio, and widget infra from rik2. 2026-08-18 14:23:57 +02:00
auto_close_eof.rs Splash improvements for running untrusted mini-apps (#1139) 2026-08-12 01:55:46 +02:00
extra_arg_typecheck.rs Splash: a host-services bridge for mini-apps, plus three VM/parser fixes (#1181) 2026-08-19 20:06:01 +02:00
fn_ref_callback.rs Splash: a host-services bridge for mini-apps, plus three VM/parser fixes (#1181) 2026-08-19 20:06:01 +02:00
hook_scope.rs Splash: host->script hook calls find fns defined after a shadowing let (#1210) 2026-09-03 21:58:22 +02:00
json_negative_numbers.rs Splash: a host-services bridge for mini-apps, plus three VM/parser fixes (#1181) 2026-08-19 20:06:01 +02:00
math_aot.rs platform+widgets: sploded 3D inspect view, the tweaker design-feedback suite, script math-AOT and docs channel, pointer-pin and pixel-probe, modal layout, map warp 2026-08-29 09:26:24 +02:00
math_aot_fuzz.rs platform+widgets: sploded 3D inspect view, the tweaker design-feedback suite, script math-AOT and docs channel, pointer-pin and pixel-probe, modal layout, map warp 2026-08-29 09:26:24 +02:00
newline_call.rs Splash improvements for running untrusted mini-apps (#1139) 2026-08-12 01:55:46 +02:00
on_render_emission.rs Splash improvements for running untrusted mini-apps (#1139) 2026-08-12 01:55:46 +02:00
parse_error_capture.rs Splash: a host-services bridge for mini-apps, plus three VM/parser fixes (#1181) 2026-08-19 20:06:01 +02:00
reload_defaults.rs hiccup 2026-03-11 10:19:58 +01:00
short_circuit_args.rs Splash improvements for running untrusted mini-apps (#1139) 2026-08-12 01:55:46 +02:00