Skip to content
Browse files
[Truffle] Fix call target to use when a proc is turned into a method …
…- fixes last return spec.
  • Loading branch information
chrisseaton committed Oct 2, 2014
1 parent 92c6221 commit 36a762ac38afb61d437849d69cbe8bbb1f70e726
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
@@ -696,7 +696,7 @@ public RubyProc proc(RubyProc block) {

return new RubyProc(getContext().getCoreLibrary().getProcClass(), RubyProc.Type.PROC,
block.getSharedMethodInfo(), block.getCallTarget(), block.getCallTarget(), block.getDeclarationFrame(),
block.getSharedMethodInfo(), block.getCallTarget(), block.getCallTargetForMethods(), block.getDeclarationFrame(),
block.getSelfCapturedInScope(), block.getBlockCapturedInScope());

This file was deleted.

0 comments on commit 36a762a

Please sign in to comment.