Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/DefineFunction.sl @ 16007:23ae0cbcb2ae
OptionProcessor needs to find the type parameter of an OptionValue field declaration
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jun 2014 17:11:40 +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(); }