failing test
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun box() : String {
|
||||
return if (invoker({49}) == 49) "OK" else "fail"
|
||||
}
|
||||
|
||||
fun invoker(gen : {() : Int}) : Int {
|
||||
return gen()
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package org.jetbrains.jet.codegen;
|
||||
|
||||
/**
|
||||
* @author max
|
||||
*/
|
||||
public class ClosuresGenTest extends CodegenTestCase {
|
||||
public void testSimplestClosure() throws Exception {
|
||||
blackBoxFile("classes/simplestClosure.jet");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user