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
When sysopen failed on File.new, it calls Errno.handle.
But iij/mruby-errno doesn't have such API.
So when I tried to open non-existent file, I got NoMethodError instead of NoFileError.
Here's mirb output:
f = File.new("hoge")
(mirb):1: undefined method 'handle' for Errno (NoMethodError)
The text was updated successfully, but these errors were encountered:
When sysopen failed on File.new, it calls Errno.handle.
But iij/mruby-errno doesn't have such API.
So when I tried to open non-existent file, I got NoMethodError instead of NoFileError.
Here's mirb output:
The text was updated successfully, but these errors were encountered: