Actions
Bug #13964
closed[BUG] Stack consistency error
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
Backport:
Description
You get "[BUG] Stack consistency error" when you run attached 'bug_repro.rb'.
If you change line 44 in the script
option_draw&.weight *= 2
to
option_draw.weight *= 2 if option_draw
you get no error.
Also if you change line 63 in the script
2.times do |age|
to
1.times do |age|
you get no error neither.
Thank you in advance.
Files
Actions
Like0
Like0Like0Like0Like0