Make state of the default REPL compiler explicit and replaceable
restores proper object hierarchy in case the legacy REPL infrastructure
This commit is contained in:
committed by
TeamCityServer
parent
e7c9a46329
commit
a45e31720c
@@ -24,7 +24,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock
|
||||
import kotlin.jvm.internal.TypeIntrinsics
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
const val REPL_CODE_LINE_FIRST_NO = 1
|
||||
const val REPL_CODE_LINE_FIRST_NO = 0
|
||||
const val REPL_CODE_LINE_FIRST_GEN = 1
|
||||
|
||||
data class ReplCodeLine(val no: Int, val generation: Int, val code: String) : Serializable {
|
||||
|
||||
Reference in New Issue
Block a user