[FE] Always infer upper types to intersection types in K2...
...and always use old algorithm for K1 ^KT-51221
This commit is contained in:
committed by
Space Team
parent
d50c072af0
commit
ac7fddaad5
@@ -902,6 +902,9 @@ interface ClassicTypeSystemContext : TypeSystemInferenceExtensionContext, TypeSy
|
||||
return this is UnwrappedType && constructor is NewTypeVariableConstructor
|
||||
}
|
||||
|
||||
override val isK2: Boolean
|
||||
get() = false
|
||||
|
||||
class WA // Workaround for KT-52313
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user