You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add null checks to prevent undefined access in callMethod
- Add null checks for methodToNumArgs and numArgsToNumRubyBlockArgs
- Fix 'Cannot read properties of undefined (reading '0')' error
- Ensure proper error handling for unknown function calls like 'abc'
- Restore proper 'wrong instruction' error messages instead of exceptions
This fixes the regression introduced by registerCallMyBlock implementation
where undefined function calls would cause exceptions instead of proper
error handling.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments