Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 36a762a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -696,7 +696,7 @@ public RubyProc proc(RubyProc block) {
notDesignedForCompilation();

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());
}
}
Expand Down
1 change: 0 additions & 1 deletion spec/truffle/tags/language/return_tags.txt

This file was deleted.

0 comments on commit 36a762a

Please sign in to comment.