AA: handle erroneous type in nested type argument

This commit is contained in:
Jinseong Jeon
2022-11-10 22:50:08 -08:00
committed by Ilya Kirillov
parent ac514849f4
commit fcba1f215a
9 changed files with 57 additions and 15 deletions
@@ -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)