From c9c913eaaeb509872e566b82750090c0eff3c672 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Mon, 26 Apr 2021 10:00:32 +0200 Subject: [PATCH] Call method --- source/tlang/compiler/typecheck/core.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/tlang/compiler/typecheck/core.d b/source/tlang/compiler/typecheck/core.d index da19a26..a558f2b 100644 --- a/source/tlang/compiler/typecheck/core.d +++ b/source/tlang/compiler/typecheck/core.d @@ -68,9 +68,11 @@ public final class TypeChecker Type foundType; /* Check if the type is built-in */ + /* TODO: Just use `getBuiltInType`, if null then yeah - not built-in */ if(isBuiltInType(typeString)) { /* TODO: Get the built-in type */ + foundType = getBuiltInType(typeString); } /* If not built-in, resolve it */ else