Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
markwpearce committed Dec 20, 2024
1 parent 339de6a commit e712784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bscPlugin/validation/ScopeValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export class ScopeValidator {
}
const opResult = util.binaryOperatorResultType(leftTypeToTest, binaryExpr.tokens.operator, rightTypeToTest);

if (!opResult) { //} || isDynamicType(opResult) || isVoidType(opResult)) {
if (!opResult) {
// if the result was dynamic or void, that means there wasn't a valid operation
this.addMultiScopeDiagnostic({
...DiagnosticMessages.operatorTypeMismatch(binaryExpr.tokens.operator.text, leftType.toString(), rightType.toString()),
Expand Down

0 comments on commit e712784

Please sign in to comment.