Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions truffle/src/main/ruby/core/marshal.rb
Original file line number Diff line number Diff line change
@@ -1151,10 +1151,10 @@ def set_exception_variables(obj)
ivar = get_symbol
value = construct
case ivar
when :bt
obj.__instance_variable_set__ :@custom_backtrace, value
when :mesg
Truffle.invoke_primitive :exception_set_message, obj, value
when :bt
obj.__instance_variable_set__ :@custom_backtrace, value
when :mesg
Truffle.invoke_primitive :exception_set_message, obj, value
end
end
end

0 comments on commit 8350aa6

Please sign in to comment.