[NI] Fix assertion: KotlinTypeMarker -> KotlinType

This commit is contained in:
Mikhail Zarechenskiy
2019-05-27 00:59:42 +03:00
parent a0234241f5
commit af15e9b93f
@@ -133,7 +133,7 @@ interface ClassicTypeSystemContext : TypeSystemInferenceExtensionContext {
}
override fun KotlinTypeMarker.getArgument(index: Int): TypeArgumentMarker {
require(this is SimpleType, this::errorMessage)
require(this is KotlinType, this::errorMessage)
return this.arguments[index]
}