Skip to content

Commit

Permalink
Regenerate Truffle::VersionedArray
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Jan 18, 2023
1 parent 71f0778 commit 50176bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/ruby/truffleruby/core/truffle/versioned_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,11 @@ def inspect(*args, &block)
copy.inspect(*args, &block)
end

def intersect?(*args, &block)
copy = TruffleRuby.synchronized(@lock) { Array.new self }
copy.intersect?(*args, &block)
end

def intersection(*args, &block)
copy = TruffleRuby.synchronized(@lock) { Array.new self }
copy.intersection(*args, &block)
Expand Down

0 comments on commit 50176bf

Please sign in to comment.