AA: handle erroneous type in nested type argument
This commit is contained in:
committed by
Ilya Kirillov
parent
ac514849f4
commit
fcba1f215a
@@ -362,7 +362,7 @@ interface ClassicTypeSystemContext : TypeSystemInferenceExtensionContext, TypeSy
|
||||
* - type for type parameter
|
||||
* - captured type
|
||||
*
|
||||
* Such types can contains error types in our arguments, but type constructor isn't errorTypeConstructor
|
||||
* Such types can contain error types in our arguments, but type constructor isn't errorTypeConstructor
|
||||
*/
|
||||
override fun SimpleTypeMarker.isSingleClassifierType(): Boolean {
|
||||
require(this is SimpleType, this::errorMessage)
|
||||
|
||||
Reference in New Issue
Block a user