This commit is contained in:
ConnorSkees 2020-02-22 11:59:33 -05:00
parent e6120a0f59
commit a4cd8ae02c

View File

@ -38,7 +38,9 @@ impl Add for Value {
Self::Ident(s, QuoteKind::Double) | Self::Ident(s, QuoteKind::Single) => {
Value::Ident(format!("{}{}", c, s), QuoteKind::Double)
}
Self::Ident(s, QuoteKind::None) => Value::Ident(format!("{}{}", c, s), QuoteKind::None),
Self::Ident(s, QuoteKind::None) => {
Value::Ident(format!("{}{}", c, s), QuoteKind::None)
}
Self::Null => Value::Ident(c.to_string(), QuoteKind::None),
_ => return Err(format!("Undefined operation \"{} + {}\".", c, other).into()),
},