From e7127848c9a2f7cc86366f1bf52feebcfb9e4a7d Mon Sep 17 00:00:00 2001 From: Mark Pearce Date: Fri, 20 Dec 2024 16:16:39 -0400 Subject: [PATCH] Removed commented out code --- src/bscPlugin/validation/ScopeValidator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bscPlugin/validation/ScopeValidator.ts b/src/bscPlugin/validation/ScopeValidator.ts index 28e9f53df..262026b35 100644 --- a/src/bscPlugin/validation/ScopeValidator.ts +++ b/src/bscPlugin/validation/ScopeValidator.ts @@ -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()),