Remove obsolete assertion in ExpressionCodegen

With the mangling added in 488418d960, there's no longer any risk in
writing "special" function name ("<anonymous>" in this case) to the
local variable table.

 #KT-34356 Fixed
This commit is contained in:
Alexander Udalov
2019-10-25 12:45:08 +02:00
parent e7fe144f5c
commit dac0fc7397
7 changed files with 34 additions and 3 deletions
@@ -11591,6 +11591,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt");
}
@TestMetadata("insideGenericLambda.kt")
public void testInsideGenericLambda() throws Exception {
runTest("compiler/testData/codegen/box/functions/functionExpression/insideGenericLambda.kt");
}
@TestMetadata("underscoreParameters.kt")
public void testUnderscoreParameters() throws Exception {
runTest("compiler/testData/codegen/box/functions/functionExpression/underscoreParameters.kt");