File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
server/src/main/kotlin/org/javacs/kt/compiler Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
[versions ]
2
- kotlinVersion = " 1.9.20 "
2
+ kotlinVersion = " 2.0.0 "
3
3
lsp4jVersion = " 0.21.2"
4
4
exposedVersion = " 0.37.3"
5
5
jmhVersion = " 1.20"
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ private class CompilationEnvironment(
99
99
100
100
init {
101
101
environment = KotlinCoreEnvironment .createForProduction(
102
- parentDisposable = disposable,
102
+ projectDisposable = disposable,
103
103
// Not to be confused with the CompilerConfiguration in the language server Configuration
104
104
configuration = KotlinCompilerConfiguration ().apply {
105
105
val langFeatures = mutableMapOf<LanguageFeature , LanguageFeature .State >()
@@ -423,7 +423,7 @@ private class CompilationEnvironment(
423
423
}
424
424
425
425
fun createContainer (sourcePath : Collection <KtFile >): Pair <ComponentProvider , BindingTraceContext > {
426
- val trace = CliBindingTrace ()
426
+ val trace = CliBindingTrace (environment.project )
427
427
val container = TopDownAnalyzerFacadeForJVM .createContainer(
428
428
project = environment.project,
429
429
files = sourcePath,
You can’t perform that action at this time.
0 commit comments