Commit Graph

1 Commits

Author SHA1 Message Date
Bob Nystrom
634e9fbb11 feat: add superclass call support inside closures in wren compiler
Add a new test case `test/super/closure.wren` verifying that `super.toString` correctly resolves to the base class method when called from within a closure defined in a derived class. Refactor `resolveLocal` and `resolveUpvalue` to accept explicit name and length parameters instead of relying on the previously consumed token, enabling proper name resolution in nested closure scopes during superclass method dispatch.
2013-12-23 04:46:12 +00:00