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
Note that the contract on the "country" variable uses a "key" variable that isn't defined. While this is definitely my fault, I figure it probably shouldn't be causing a segmentation fault. I can attach the resulting dump if the issue isn't easily reproduceable. Doing the same in a lambda outside the contract fails gracefully.
Duty.get_supported_duty_countries returns a hash.
The text was updated successfully, but these errors were encountered:
test.rb:4:in `block in <main>': undefined local variable or method `keys' for main:Object (NameError)
contracts.ruby is a pure Ruby gem, so I don't think this segfault is coming from here. It's more likely related to some other library you are using (maybe Rails) that has C extensions.
It seems I made a typo in a contract and broke Rails.
Note that the contract on the "country" variable uses a "key" variable that isn't defined. While this is definitely my fault, I figure it probably shouldn't be causing a segmentation fault. I can attach the resulting dump if the issue isn't easily reproduceable. Doing the same in a lambda outside the contract fails gracefully.
Duty.get_supported_duty_countries returns a hash.
The text was updated successfully, but these errors were encountered: