diff --git a/source/tlang/compiler/codegen/instruction.d b/source/tlang/compiler/codegen/instruction.d index 0ceb9f31..26f184c6 100644 --- a/source/tlang/compiler/codegen/instruction.d +++ b/source/tlang/compiler/codegen/instruction.d @@ -69,13 +69,13 @@ public class VariableAssignmentInstr : Instruction public final class VariableDeclaration : StorageDeclaration { /* Name of variable being declared */ - public string varName; + public const string varName; /* Length */ - public byte length; + public const byte length; /* Type of the variable being declared */ - public string varType; + public const string varType; //TODO: This must take in type information this(string varName, byte len, string varType)