[FIR] Report type-parameterized implicit invoke call over type-parameterized property access

^KT-59988
This commit is contained in:
Evgeniy.Zhelenskiy
2023-11-20 04:59:11 +01:00
committed by Space Team
parent 86c09a1c78
commit f5168527ae
14 changed files with 47 additions and 44 deletions
@@ -264,8 +264,8 @@ class ConeWrongNumberOfTypeArgumentsError(
override val reason: String get() = "Wrong number of type arguments"
}
class ConeTypeArgumentsNotAllowedError(source: KtSourceElement) : ConeDiagnosticWithSource(source) {
override val reason: String get() = "Type parameters cannot be parameterized with type arguments"
class ConeTypeArgumentsNotAllowedOnPackageError(source: KtSourceElement) : ConeDiagnosticWithSource(source) {
override val reason: String get() = "Type arguments are not allowed for packages"
}
class ConeTypeArgumentsForOuterClassWhenNestedReferencedError(source: KtSourceElement) : ConeDiagnosticWithSource(source) {