mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1886 from iij/pr-kernel-loop-rescue-error
Kernel.loop should not catch StandardError.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ module Kernel
|
||||
while(true)
|
||||
yield
|
||||
end
|
||||
rescue => StopIteration
|
||||
rescue StopIteration
|
||||
nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user