From 06ba886328e45b0e86d8082c4ab861c65c503282 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Mon, 29 Mar 2021 22:27:48 +0200 Subject: [PATCH] WIP --- source/tlang/compiler/typecheck.d | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/tlang/compiler/typecheck.d b/source/tlang/compiler/typecheck.d index 2a43a37..7c2f317 100644 --- a/source/tlang/compiler/typecheck.d +++ b/source/tlang/compiler/typecheck.d @@ -202,6 +202,15 @@ public final class TypeChecker // if(cmp(path, "") == 0) // } + + /* TODO: Do elow functio n */ + /* TODO: I also need something to get all entities with same name */ + public bool entityCmp(Entity lhs, Entity rhs) + { + /* TODO: Depends on Entity */ + /* If lhs and rhs are variables then if lhs came before rhs this is true */ + } + /* Path: clazz_2_1.class_2_2 */ public Entity isValidEntity(Statement[] startingPoint, string path) { /* The entity found with the matching name at the end of the path */