Skip to content

Commit

Permalink
[Truffle] Lower line number parameter to int for Kernel#eval.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Feb 9, 2015
1 parent 4d11e21 commit 5f4dc5b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -483,7 +483,7 @@ public Object dup(VirtualFrame frame, RubyBasicObject self) {

}

@CoreMethod(names = "eval", isModuleFunction = true, required = 1, optional = 3)
@CoreMethod(names = "eval", isModuleFunction = true, required = 1, optional = 3, lowerFixnumParameters = 3)
@NodeChildren({
@NodeChild(value = "source", type = RubyNode.class),
@NodeChild(value = "binding", type = RubyNode.class),
Expand Down

0 comments on commit 5f4dc5b

Please sign in to comment.