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 {
9999 *
100100 * This is either 1 for prefix operations, or 2 for binary operations.
101101 */
102- final int getNumberOfOperands ( ) { result = count ( this .getAnOperand ( ) ) }
102+ final int getNumberOfOperands ( ) { result = strictcount ( this .getAnOperand ( ) ) }
103103
104104 /** Gets an operand of this operation. */
105105 Expr getAnOperand ( ) { result = this .getOperand ( _) }
Original file line number Diff line number Diff line change @@ -691,6 +691,8 @@ private module CallExprBaseMatchingInput implements MatchingInputSig {
691691 }
692692
693693 private class OperationAccess extends Access instanceof Operation {
694+ OperationAccess ( ) { super .isOverloaded ( _, _) }
695+
694696 override Type getTypeArgument ( TypeArgumentPosition apos , TypePath path ) {
695697 // The syntax for operators does not allow type arguments.
696698 none ( )
You can’t perform that action at this time.
0 commit comments