Pass languageVersionSettings to AbstractTypeApproximator
This commit is contained in:
committed by
TeamCityServer
parent
59372fd15f
commit
e74a0c7ef7
+6
-1
@@ -5,11 +5,16 @@
|
||||
|
||||
package org.jetbrains.kotlin.types
|
||||
|
||||
import org.jetbrains.kotlin.config.LanguageFeature
|
||||
import org.jetbrains.kotlin.config.LanguageVersionSettings
|
||||
import org.jetbrains.kotlin.resolve.calls.NewCommonSuperTypeCalculator.commonSuperType
|
||||
import org.jetbrains.kotlin.types.model.*
|
||||
import java.util.concurrent.ConcurrentHashMap
|
||||
|
||||
abstract class AbstractTypeApproximator(val ctx: TypeSystemInferenceExtensionContext) : TypeSystemInferenceExtensionContext by ctx {
|
||||
abstract class AbstractTypeApproximator(
|
||||
val ctx: TypeSystemInferenceExtensionContext,
|
||||
protected val languageVersionSettings: LanguageVersionSettings,
|
||||
) : TypeSystemInferenceExtensionContext by ctx {
|
||||
|
||||
private class ApproximationResult(val type: KotlinTypeMarker?)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user