From 889ea9155fefb2e04fcc4743465c2598f4bc7d44 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 1 Apr 2021 14:11:29 +0200 Subject: [PATCH] Removed cruft --- source/tlang/compiler/typecheck/core.d | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/source/tlang/compiler/typecheck/core.d b/source/tlang/compiler/typecheck/core.d index 3f61f4b..8be09b8 100644 --- a/source/tlang/compiler/typecheck/core.d +++ b/source/tlang/compiler/typecheck/core.d @@ -58,30 +58,7 @@ public final class TypeChecker beginCheck(); } - private string[] validNames; - - private bool declareName() - { - return 0; - } - - private bool isName(string nameTest) - { - foreach(string name; validNames) - { - if(cmp(nameTest, name) == 0) - { - return true; - } - } - - return false; - } - - private void declareName(string name) - { - validNames ~= name; - } + private void beginCheck() {