Browse Source

Code cleanup

constants
Tristan B. V. Kildaire 7 months ago
parent
commit
4488678d3e
  1. 2
      source/tlang/compiler/symbols/typing/builtins.d
  2. 1
      source/tlang/compiler/typecheck/core.d

2
source/tlang/compiler/symbols/typing/builtins.d

@ -58,7 +58,7 @@ public Type getBuiltInType(TypeChecker tc, string typeString)
return new Void();
}
/* TODO: char */
/* TODO: What do we want? Char enforcement is kind of cringe I guess */
else if(cmp(typeString, "char") == 0)
{
return new Integer("ubyte", 1, false);

1
source/tlang/compiler/typecheck/core.d

@ -276,7 +276,6 @@ public final class TypeChecker
/* String literal */
else if(cast(StringExpression)statement)
{
/* TODO: For now */
gprintln("Typecheck(): String literal processing...");
/**

Loading…
Cancel
Save