From 20ea6a8df013592d2009b752793c81796979d3ad Mon Sep 17 00:00:00 2001 From: Sol Dubock <94075844+sjd210@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:44:19 +0000 Subject: [PATCH] Add more in-depth type-mismatch feedback --- src/models/Chemistry.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/Chemistry.ts b/src/models/Chemistry.ts index ba2fe7c..662a4d8 100644 --- a/src/models/Chemistry.ts +++ b/src/models/Chemistry.ts @@ -566,6 +566,7 @@ function checkNodesEqual(test: ASTNode, target: ASTNode, response: CheckerRespon return finalResponse; } else { // There was a type mismatch + response.typeMismatch = true; response.isEqual = false; // We must still check the children of the node to get complete aggregate counts if (test.type == "error") {