phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0

This commit is contained in:
nyash-codex
2025-11-06 15:41:52 +09:00
parent 2dc370223d
commit 77d4fd72b3
1658 changed files with 6288 additions and 2612 deletions

View File

@ -0,0 +1,22 @@
// Test FloatBox Issues (Problem 4)
// This should demonstrate the FloatBox value access issues
local console = new ConsoleBox()
console.log("=== Testing FloatBox Issues ===")
// Test FloatBox creation (this should work)
console.log("Creating FloatBox...")
local float = new FloatBox(3.14)
console.log("FloatBox created successfully")
// Test toString method (this should work)
console.log("Testing toString...")
local float_str = float.toString()
console.log("FloatBox toString: " + float_str)
// Test value field access (this should fail)
console.log("Testing value field access...")
// local value = float.value
// console.log("FloatBox value: " + value)
console.log("FloatBox test complete!")