Skip to content

Commit 78ff87e

Browse files
committed
marshal_load always takes a single array argument
1 parent e9a391e commit 78ff87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/truffleruby/core/truffle/polyglot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def marshal_dump
317317
raise TypeError, "Foreign exception cannot be dumped: #{inspect}"
318318
end
319319

320-
def marshal_load(...)
320+
def marshal_load(array)
321321
raise TypeError, 'Foreign exception cannot be restored'
322322
end
323323
end

0 commit comments

Comments
 (0)