MIR builder (modularized): fix Call emission to new schema; switch AwaitExpression; drop legacy Array* cases. Tests: fix optimizer test get_block signature. Interpreter: annotate unreachable legacy constructor path in execute_new().

This commit is contained in:
Moe Charm
2025-08-25 19:52:42 +09:00
parent b8e416fb03
commit 8fb99d0763
3 changed files with 22 additions and 50 deletions

View File

@ -106,6 +106,8 @@ impl NyashInterpreter {
}
// Unified registry is authoritative; legacy implementation removed
// NOTE: Legacy constructor path below is unreachable and kept only for reference during migration.
// TODO(migration): remove legacy block after all callsites are confirmed on Unified Registry.
return Err(RuntimeError::UndefinedClass { name: class.to_string() });
// Try basic type constructors first