Files
hakorune/tools
tomoaki bb3cae054f refactor(smoke): Wrap -c inline scripts in main() (Phase 287 P4 Box 2)
File mode SSOT requires all code in declarations (static box/function).
Top-level execution statements will be prohibited in future.

Changed all run_nyash_vm -c scripts to:
- static box Main { main() { ... return 0 } }

Affected tests:
- string_concat.sh (3 test functions)
  - test_variable_concat: wrapped in main()
  - test_number_string_concat: wrapped + explicit .toString()
- multi_branch_phi.sh: wrapped in main()
- vm_loop_phi_multi_carriers.sh: wrapped in main()
- vm_loop_phi_multi_continue.sh: wrapped in main()
- vm_nested_mixed_break_continue.sh: wrapped in main()

This fixes top-level parse errors while maintaining test coverage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 12:23:30 +09:00
..