FIR: Report ARGUMENT_TYPE_MISMATCH instead of TYPE_MISMATCH for arguments
This commit is contained in:
committed by
teamcityserver
parent
db500fab94
commit
a801eccf66
+1
-1
@@ -219,7 +219,7 @@ private fun ConstraintSystemError.toDiagnostic(
|
||||
}
|
||||
|
||||
argument?.let {
|
||||
return FirErrors.TYPE_MISMATCH.on(it.source ?: source, lowerConeType, upperConeType)
|
||||
return FirErrors.ARGUMENT_TYPE_MISMATCH.on(it.source ?: source, lowerConeType, upperConeType)
|
||||
}
|
||||
|
||||
when (position) {
|
||||
|
||||
Reference in New Issue
Block a user