File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ module Impl {
99
99
*
100
100
* This is either 1 for prefix operations, or 2 for binary operations.
101
101
*/
102
- final int getNumberOfOperands ( ) { result = count ( this .getAnOperand ( ) ) }
102
+ final int getNumberOfOperands ( ) { result = strictcount ( this .getAnOperand ( ) ) }
103
103
104
104
/** Gets an operand of this operation. */
105
105
Expr getAnOperand ( ) { result = this .getOperand ( _) }
Original file line number Diff line number Diff line change @@ -691,6 +691,8 @@ private module CallExprBaseMatchingInput implements MatchingInputSig {
691
691
}
692
692
693
693
private class OperationAccess extends Access instanceof Operation {
694
+ OperationAccess ( ) { super .isOverloaded ( _, _) }
695
+
694
696
override Type getTypeArgument ( TypeArgumentPosition apos , TypePath path ) {
695
697
// The syntax for operators does not allow type arguments.
696
698
none ( )
You can’t perform that action at this time.
0 commit comments