Code cleanup

entity_declaration_type_checking
Tristan B. V. Kildaire 2021-04-21 23:29:14 +02:00
parent cac568178d
commit c1f28bd80e
1 changed files with 1 additions and 14 deletions

View File

@ -2,19 +2,6 @@ module compiler.symbols.typing;
import compiler.symbols.data; import compiler.symbols.data;
// public interface Type
// {
// public
// }
// public class PrimitiveType : Type
// {
// }
/* TODO: Make Container interface (for `getParent` and `getMembers`), then Clazz and PrimitiveType inherit Type, fuck lmao
/* TODO: Type then ofc Entity (for `name`) */
public class Type : Entity public class Type : Entity
{ {
/** /**
@ -33,7 +20,7 @@ public class Number : Type
{ {
/* Number of bytes (1,2,4,8) */ /* Number of bytes (1,2,4,8) */
private ubyte width; private ubyte width;
this(string name) this(string name)
{ {
super(name); super(name);