Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion truffle/src/main/ruby/core/shims.rb
Original file line number Diff line number Diff line change
@@ -227,7 +227,11 @@ def locations
end

def to_s
message.to_s
if message.nil?
self.class.to_s
else
message.to_s
end
end

end

0 comments on commit 454db3a

Please sign in to comment.