Suppress deprecation warnings related to scripting
This commit is contained in:
@@ -15,6 +15,7 @@ dependencies {
|
||||
compileOnly(project(":compiler:backend.js"))
|
||||
compileOnly(project(":core:descriptors.runtime"))
|
||||
compileOnly(project(":compiler:ir.tree.impl"))
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
compile(project(":kotlin-scripting-common"))
|
||||
compile(project(":kotlin-scripting-js"))
|
||||
compile(project(":kotlin-util-klib"))
|
||||
|
||||
+2
@@ -203,7 +203,9 @@ open class ReplCodeAnalyzerBase(
|
||||
// TODO: merge with org.jetbrains.kotlin.resolve.repl.ReplState when switching to new REPL infrastructure everywhere
|
||||
// TODO: review its place in the extracted state infrastructure (now the analyzer itself is a part of the state)
|
||||
class ResettableAnalyzerState {
|
||||
@Suppress("DEPRECATION")
|
||||
private val successfulLines = ResettableSnippetsHistory<LineInfo.SuccessfulLine>()
|
||||
|
||||
private val submittedLines = hashMapOf<KtFile, LineInfo>()
|
||||
|
||||
fun resetToLine(lineId: ILineId): List<SourceCodeByReplLine> {
|
||||
|
||||
Reference in New Issue
Block a user