Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always cast return value to return type. Fixes #5204.
This issue was discovered by implementing an interface that returns a JRuby type, like RubyArray. Because the JRuby types implement IRubyObject, the logic for casting was not used, when at least the cast should be present in all cases.
- Loading branch information