Auto-import fix should suggest declarations that cannot be used in this position
This also should fix KT-9122 Assertion error when psi modified from IDE #KT-9122 Fixed
This commit is contained in:
@@ -44,6 +44,7 @@ public sealed class CallType<TReceiver : JetElement?>(val descriptorKindFilter:
|
||||
|
||||
object SAFE : CallType<JetExpression>(DescriptorKindFilter.ALL)
|
||||
|
||||
// TODO: split into INFIX and OPERATOR (+ support other convention calls like [] etc)
|
||||
object INFIX : CallType<JetExpression>(DescriptorKindFilter.FUNCTIONS exclude NonInfixExclude)
|
||||
|
||||
object UNARY : CallType<JetExpression>(DescriptorKindFilter.FUNCTIONS exclude NonUnaryExclude)
|
||||
|
||||
Reference in New Issue
Block a user