selfhosting-dev: finalize local changes post-rebase abort (dep_tree tools, runner, grammar); keep tmp deps json in-tree

This commit is contained in:
Selfhosting Dev
2025-09-08 11:20:13 +09:00
parent f22082f67c
commit a45c22891c
4 changed files with 50 additions and 65 deletions

View File

@ -438,7 +438,7 @@ impl NyashParser {
self.consume(TokenType::RBRACE)?;
self.skip_newlines();
continue;
} else if self.match_token(&TokenType::IDENTIFIER) {
} else if matches!(self.current_token().token_type, TokenType::IDENTIFIER(_)) {
// 単行形式: public name[: Type]
let fname = if let TokenType::IDENTIFIER(n) = &self.current_token().token_type { n.clone() } else { unreachable!() };
self.advance();