Skip to content

Commit

Permalink
add deconstruct helper to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
razetime committed Oct 17, 2022
1 parent 724246d commit 01373f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/ruby/truffleruby/core/truffle/internal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def self.deconstruct_checked(pattern)
if Primitive.object_kind_of?(decon, Array)
decon
else
raise TypeError,"deconstruct must return Array"
raise TypeError,'deconstruct must return Array'
end
else
nil
Expand Down

0 comments on commit 01373f9

Please sign in to comment.