From d92fd13e14456a4b1e46e8f0f5a3c279849fccde Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Fri, 23 Apr 2021 09:15:03 +0200 Subject: [PATCH] Updated Pointer class --- source/tlang/compiler/symbols/typing.d | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/tlang/compiler/symbols/typing.d b/source/tlang/compiler/symbols/typing.d index cc93b12..5b3af65 100644 --- a/source/tlang/compiler/symbols/typing.d +++ b/source/tlang/compiler/symbols/typing.d @@ -53,11 +53,12 @@ public class Double : Number public class Pointer : Type { - /* Datum wdith */ - private ubyte datumWidth; + /* Data type being pointed to */ + private Type dataType; - this(string name) + this(string name, Type dataType) { super(name); + this.dataType = dataType; } } \ No newline at end of file