Repository navigation
Replies: 2 comments 1 reply
|
Thanks for the detailed report — the reproduction was spot on. Opened a fix: Root cause: mruby 3.4.0 (which 2.0.0 upgraded to) started enforcing method visibility, With the PR applied: So I also reported the underlying mruby behavior upstream, since it diverges from CRuby: |
|
The fix has been merged (#157) and shipped in v2.0.2:
Thanks again for the clear report. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry for reporting in Discussions, but the Issues are not available, so there's no better place.
In 2.0.0 a bunch of methods I've used to access node variables are no longer working (they are now private):
The only thing that works is
[], but it's the worst possible option because it defaults to nil making it very easy to make a typo and get unexpected nil (the very reason I almost always usefetchin Ruby).While
node.VAR_NAMEis a bit too magical, theto_handfetchmethods should work:fetchfor the reason described, andto_hto debug the variables.All reactions