Skip to content

Commit b4b496a

Browse files
committedMar 22, 2018
Force Block in signature.
1 parent b1b1644 commit b4b496a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎core/src/main/java/org/jruby/ir/targets/InvokeSite.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public Binder prepareBinder(boolean varargs) {
312312

313313
// add block if needed
314314
if (signature.lastArgType() != Block.class) {
315-
binder = binder.append("block", Block.NULL_BLOCK);
315+
binder = binder.append("block", Block.class, Block.NULL_BLOCK);
316316
}
317317

318318
// bind to site

0 commit comments

Comments
 (0)