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