File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
compiler/backend/src/org/jetbrains/kotlin/codegen/state Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,7 @@ class GenerationState private constructor(
256
256
this .moduleName,
257
257
languageVersionSettings,
258
258
useOldManglingSchemeForFunctionsWithInlineClassesInSignatures,
259
+ IncompatibleClassTracker .DoNothing ,
259
260
target,
260
261
isIrBackend
261
262
)
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
3
+ * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
4
+ */
5
+
6
+ package org.jetbrains.kotlin.codegen.state
7
+
8
+ import org.jetbrains.kotlin.load.kotlin.KotlinJvmBinaryClass
9
+
10
+ interface IncompatibleClassTracker {
11
+ fun record (binaryClass : KotlinJvmBinaryClass )
12
+
13
+ object DoNothing : IncompatibleClassTracker {
14
+ override fun record (binaryClass : KotlinJvmBinaryClass ) {
15
+ }
16
+ }
17
+ }
Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ class KotlinTypeMapper @JvmOverloads constructor(
87
87
private val moduleName : String ,
88
88
val languageVersionSettings : LanguageVersionSettings ,
89
89
private val useOldInlineClassesManglingScheme : Boolean ,
90
+ // temporary returned to preserve binary compatibility with Dagger in IDE
91
+ // https://android.googlesource.com/platform/tools/adt/idea/+/refs/heads/mirror-goog-studio-master-dev/dagger/src/com/android/tools/idea/dagger/DaggerAnnotatedElementsSearch.kt
92
+ private val incompatibleClassTracker : IncompatibleClassTracker = IncompatibleClassTracker .DoNothing ,
90
93
val jvmTarget : JvmTarget = JvmTarget .DEFAULT ,
91
94
private val isIrBackend : Boolean = false ,
92
95
private val typePreprocessor : ((KotlinType ) -> KotlinType ? )? = null ,
You can’t perform that action at this time.
0 commit comments