toString() for FunctionN classes

It's implemented as if the types were reified: getting the real type parameters
of the corresponding FunctionN class
This commit is contained in:
Alexander Udalov
2013-03-25 21:57:41 +04:00
parent 0ec1f20140
commit 76fa9642f0
50 changed files with 228 additions and 3 deletions
@@ -1764,6 +1764,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/functions/functionExpression.kt");
}
@TestMetadata("functionNtoString.kt")
public void testFunctionNtoString() throws Exception {
doTest("compiler/testData/codegen/box/functions/functionNtoString.kt");
}
@TestMetadata("invoke.kt")
public void testInvoke() throws Exception {
doTest("compiler/testData/codegen/box/functions/invoke.kt");