view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 18646:290dc460feb3

use better types to simplify instantiation of Serializable lambdas
author Doug Simon <doug.simon@oracle.com>
date Mon, 08 Dec 2014 20:41:28 +0100
parents ff3136ecb5a7
children
line wrap: on
line source

function foo() {}
function bar() {}

function main() {  
  foo();
  if (1 < 2) {
    bar();
    return 1;
  }
}