Display of lists sorta works
This commit is contained in:
parent
dbf5886aad
commit
850b77541b
@ -94,7 +94,11 @@ impl fmt::Display for Expression {
|
||||
write!(f, "«function: {}, {} arg(s)»", name, parameters.len())
|
||||
}
|
||||
ListLiteral(ref items) => {
|
||||
write!(f, "[ <a list> ]")
|
||||
write!(f, "[");
|
||||
for item in items {
|
||||
write!(f, ", {}", item);
|
||||
}
|
||||
write!(f, "]")
|
||||
}
|
||||
_ => write!(f, "UNIMPLEMENTED"),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user