Skip to content

Commit

Permalink
remove code I'd only commened out
Browse files Browse the repository at this point in the history
  • Loading branch information
not-napoleon committed Jan 30, 2024
1 parent fa68c25 commit 8cebe89
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,6 @@ public Mul(Source source, Expression left, Expression right) {
);
}

/*
@Override
protected TypeResolution resolveType() {
if (childrenResolved() == false) {
return new TypeResolution("Unresolved children");
}
DataType l = left().dataType();
DataType r = right().dataType();
// 1. both are numbers
if (DataTypes.isNullOrNumeric(l) && DataTypes.isNullOrNumeric(r)) {
return TypeResolution.TYPE_RESOLVED;
}
return new TypeResolution(format(null, "[{}] has arguments with incompatible types [{}] and [{}]", symbol(), l, r));
}
*/

@Override
public ArithmeticOperationFactory binaryComparisonInverse() {
return Div::new;
Expand Down

0 comments on commit 8cebe89

Please sign in to comment.