[FIR] Disallow operators not on functions
Introduce `NOT_FUNCTION_AS_OPERATOR` and use it instead of `PROPERTY_AS_OPERATOR` ^KT-65881 Fixed Merge-request: KT-MR-14547
This commit is contained in:
committed by
Space Team
parent
df9d59851d
commit
2d4f4b9bb5
+2
-2
@@ -89,10 +89,10 @@ enum class CandidateApplicability {
|
||||
RESOLVED_LOW_PRIORITY,
|
||||
|
||||
/**
|
||||
* Candidate is successful but uses property of functional type as an operator.
|
||||
* Candidate is successful but uses property or object of functional type as an operator.
|
||||
* Tower resolve proceeds to next levels.
|
||||
*/
|
||||
K2_PROPERTY_AS_OPERATOR,
|
||||
K2_NOT_FUNCTION_AS_OPERATOR,
|
||||
|
||||
/**
|
||||
* Candidate is successful but uses new features that change resolve.
|
||||
|
||||
Reference in New Issue
Block a user