Make `LocalJumpError` a direct subclass of `StandardError`.
To be compatible with CRuby.
MODIFY
mrblib/10error.rb
mrblib/10error.rb
class ArgumentError < StandardError
end
-# ISO 15.2.25 says "LocalJumpError < StandardError"
-class LocalJumpError < ScriptError
+# ISO 15.2.25
+class LocalJumpError < StandardError
end
# ISO 15.2.26

MODIFY
test/t/superclass.rb
test/t/superclass.rb
[:Exception, :Object, '15.2.22.2'],
[:StandardError, :Exception, '15.2.23.2'],
[:ArgumentError, :StandardError, '15.2.24.2'],
- # [:LocalJumpError, :StandardError, '15.2.25.2'],
- [:LocalJumpError, :ScriptError, '15.2.25.2'], # mruby specific
+ [:LocalJumpError, :StandardError, '15.2.25.2'],
[:RangeError, :StandardError, '15.2.26.2'],
[:RegexpError, :StandardError, '15.2.27.2'],
[:RuntimeError, :StandardError, '15.2.28.2'],

Make `LocalJumpError` a direct subclass of `StandardError`.

To be compatible with CRuby.