[FIR] Prohibit class literals with empty left-hand side
^KT-59165 Fixed
This commit is contained in:
committed by
Space Team
parent
d748fe7696
commit
713c2136cc
@@ -71,6 +71,10 @@ class ConeAmbiguousFunctionTypeKinds(val kinds: List<FunctionTypeKind>) : ConeDi
|
||||
get() = "There are multiple function kinds for functional type ref"
|
||||
}
|
||||
|
||||
object ConeUnsupportedClassLiteralsWithEmptyLhs : ConeDiagnostic {
|
||||
override val reason: String get() = "No receiver in class literal"
|
||||
}
|
||||
|
||||
enum class DiagnosticKind {
|
||||
ExpressionExpected,
|
||||
NotLoopLabel,
|
||||
|
||||
Reference in New Issue
Block a user