Description
The new Validate button compiles the current snippet without executing it. This is useful and safe, but it can be misunderstood as "this code is guaranteed to run."
Because _ and named pins are exposed as dynamic, some member accesses are not fully checked until runtime. For example, a snippet using player.SomeMissingMember may pass Validate if player is dynamic, then fail when Run actually invokes the code.
Why
Users may rely on Validate before running side-effectful snippets or patches. The distinction between compile success and runtime success should be explicit.
Suggested Fix
Add a short note in the README and/or Validate tooltip/status copy:
Validate only checks compilation. Code that uses dynamic values such as _ or named pins may still fail at runtime when Run executes it.
This should not be over-explained in the UI. A short README note plus tooltip text is enough.
Acceptance Criteria
Description
The new Validate button compiles the current snippet without executing it. This is useful and safe, but it can be misunderstood as "this code is guaranteed to run."
Because
_and named pins are exposed asdynamic, some member accesses are not fully checked until runtime. For example, a snippet usingplayer.SomeMissingMembermay pass Validate ifplayeris dynamic, then fail when Run actually invokes the code.Why
Users may rely on Validate before running side-effectful snippets or patches. The distinction between compile success and runtime success should be explicit.
Suggested Fix
Add a short note in the README and/or Validate tooltip/status copy:
This should not be over-explained in the UI. A short README note plus tooltip text is enough.
Acceptance Criteria
_/ named pin member access is specifically mentioned.