FIR IDE: pass candidate super types for AMBIGUOUS_SUPER
This way the IDE quickfix do not need to do resolution again to figure out what super type to offer in the quickfix.
This commit is contained in:
committed by
Ilya Kirillov
parent
7c3706dd3f
commit
bdc71a3281
+3
-1
@@ -192,7 +192,9 @@ object DIAGNOSTICS_LIST : DiagnosticList("FirErrors") {
|
||||
parameter<FirRegularClassSymbol>("type")
|
||||
parameter<Collection<ConeKotlinType>>("bounds")
|
||||
}
|
||||
val AMBIGUOUS_SUPER by error<KtSuperExpression>()
|
||||
val AMBIGUOUS_SUPER by error<KtSuperExpression> {
|
||||
parameter<List<ConeKotlinType>>("candidates")
|
||||
}
|
||||
}
|
||||
|
||||
val CONSTRUCTOR_PROBLEMS by object : DiagnosticGroup("Constructor problems") {
|
||||
|
||||
Reference in New Issue
Block a user