Skip to content

Commit f3be766

Browse files
committed
chore(release): support 2.0.0-Beta5
1 parent a66d9ee commit f3be766

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
systemProp.kotlinVersion=2.0.0-Beta3
1+
systemProp.kotlinVersion=2.0.0-Beta5
22
systemProp.kotlinIdeVersion=1.9.20-506
33
systemProp.kotlinIdeVersionSuffix=IJ8109.175
44
systemProp.policy=executor.policy

indexation/src/main/kotlin/JvmIndexationBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import org.jetbrains.kotlin.resolve.lazy.declarations.FileBasedDeclarationProvid
1111
class JvmIndexationBuilder(private val kotlinEnvironment: KotlinEnvironment): IndexationBuilder() {
1212
override fun getAllIndexes(): List<ImportInfo> =
1313
kotlinEnvironment.environment { coreEnvironment ->
14-
val trace = CliBindingTrace()
1514
val project = coreEnvironment.project
15+
val trace = CliBindingTrace(project)
1616
val componentProvider = TopDownAnalyzerFacadeForJVM.createContainer(
1717
project = project,
1818
files = emptyList(),

src/main/kotlin/com/compiler/server/compiler/components/ErrorAnalyzer.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ class ErrorAnalyzer(
7575
}
7676

7777
fun analysisOf(files: List<KtFile>, coreEnvironment: KotlinCoreEnvironment): Analysis {
78-
val trace = CliBindingTrace()
7978
val project = files.first().project
79+
val trace = CliBindingTrace(project)
8080
val componentProvider = TopDownAnalyzerFacadeForJVM.createContainer(
8181
project = project,
8282
files = files,
@@ -155,7 +155,7 @@ class ErrorAnalyzer(
155155
)
156156
val dependencies = mutableSetOf(context.module) + mds + JsPlatformAnalyzerServices.builtIns.builtInsModule
157157
context.module.setDependencies(dependencies.toList())
158-
val trace = CliBindingTrace()
158+
val trace = CliBindingTrace(project)
159159
val providerFactory = FileBasedDeclarationProviderFactory(context.storageManager, files)
160160
val analyzerAndProvider = createContainerForTopDownAnalyzerForJs(context, trace, providerFactory, JsPlatforms.defaultJsPlatform, JsPlatformAnalyzerServices)
161161

@@ -215,7 +215,7 @@ class ErrorAnalyzer(
215215
)
216216
val dependencies = mutableSetOf(context.module) + mds + WasmPlatformAnalyzerServices.builtIns.builtInsModule
217217
context.module.setDependencies(dependencies.toList())
218-
val trace = CliBindingTrace()
218+
val trace = CliBindingTrace(project)
219219
val providerFactory = FileBasedDeclarationProviderFactory(context.storageManager, files)
220220
val analyzerAndProvider = createContainerForTopDownAnalyzerForJs(context, trace, providerFactory, WasmPlatforms.Default, WasmPlatformAnalyzerServices)
221221

0 commit comments

Comments
 (0)