Phase 4 Complete: Interpreter integration with weak field detection

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-12 20:36:00 +00:00
parent 56af6c612f
commit 339f7df617
6 changed files with 103 additions and 4 deletions

View File

@ -752,6 +752,7 @@ impl NyashInterpreter {
methods: HashMap<String, ASTNode>,
constructors: HashMap<String, ASTNode>,
init_fields: Vec<String>,
weak_fields: Vec<String>, // 🔗 weak修飾子が付いたフィールドのリスト
is_interface: bool,
extends: Vec<String>, // 🚀 Multi-delegation: Changed from Option<String> to Vec<String>
implements: Vec<String>,
@ -779,6 +780,7 @@ impl NyashInterpreter {
methods,
constructors,
init_fields,
weak_fields, // 🔗 Add weak_fields to the construction
is_interface,
extends,
implements,