Don't create default importing scopes for REPL snippets

Default scopes should be created only once, for the first snippet.
All following snippets should not create new default importing scopes.
#KT-35651 fixed
This commit is contained in:
Ilya Muradyan
2020-06-04 14:17:43 +03:00
committed by Ilya Chernikov
parent c3cbfe34c4
commit 743abea690
7 changed files with 160 additions and 9 deletions
@@ -20,6 +20,8 @@ dependencies {
allTestsRuntime(commonDep("junit"))
testCompile(project(":kotlin-scripting-ide-services-unshaded"))
testCompile(project(":kotlin-scripting-compiler"))
testCompile(project(":kotlin-scripting-dependencies"))
testCompile(project(":kotlin-main-kts"))
testCompile(project(":compiler:cli-common"))
testRuntimeOnly(project(":kotlin-compiler"))