pr 39
This commit is contained in:
@@ -5,6 +5,7 @@ use std::fmt;
|
||||
pub enum Type {
|
||||
Void,
|
||||
Int,
|
||||
Bounded,
|
||||
Float,
|
||||
Bool,
|
||||
String,
|
||||
@@ -26,6 +27,7 @@ impl fmt::Display for Type {
|
||||
match self {
|
||||
Type::Void => write!(f, "void"),
|
||||
Type::Int => write!(f, "int"),
|
||||
Type::Bounded => write!(f, "bounded"),
|
||||
Type::Float => write!(f, "float"),
|
||||
Type::Bool => write!(f, "bool"),
|
||||
Type::String => write!(f, "string"),
|
||||
|
||||
Reference in New Issue
Block a user