Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/DefineFunction.sl @ 15733:ca19a71c8566
In MethodCallTargetNode.canonicalize, uniqueConcreteType.resolveMethod can return null in some cases
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Sat, 17 May 2014 18:42:42 +0200 |
parents | b16ec83edc73 |
children |
line wrap: on
line source
function foo() { println(test(40, 2)); } function main() { defineFunction("function test(a, b) { return a + b; }"); foo(); defineFunction("function test(a, b) { return a - b; }"); foo(); }