Moved field `width` from Integer to Number

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

View File

@ -31,6 +31,9 @@ public class Type : Entity
public class Number : Type
{
/* Number of bytes (1,2,4,8) */
private ubyte width;
this(string name)
{
super(name);
@ -39,9 +42,6 @@ public class Number : Type
public class Integer : Number
{
/* Number of bytes (1,2,4,8) */
private ubyte width;
this(string name)
{
super(name);