Restore returning of functional types from repl eval

add tests for the broken case as well for the return value representation
#KT-29490 fixed
This commit is contained in:
Ilya Chernikov
2019-01-28 10:47:01 +01:00
parent 52464fd103
commit f125600af1
4 changed files with 22 additions and 1 deletions
@@ -84,6 +84,11 @@ public class ReplInterpreterTestGenerated extends AbstractReplInterpreterTest {
runTest("compiler/testData/repl/functionReferencesPrev.repl");
}
@TestMetadata("functionResult.repl")
public void testFunctionResult() throws Exception {
runTest("compiler/testData/repl/functionResult.repl");
}
@TestMetadata("imports.repl")
public void testImports() throws Exception {
runTest("compiler/testData/repl/imports.repl");