Prep the way for type casting.

This commit is contained in:
2023-05-12 17:43:20 -07:00
parent 9f8050a559
commit 8aa1465c35
6 changed files with 22 additions and 0 deletions

View File

@@ -104,6 +104,8 @@ impl syntax::Expression {
(vec![], ValueOrRef::Ref(loc, ArcIntern::new(name)))
}
syntax::Expression::Cast(_, _, _) => unimplemented!(),
// Primitive expressions are where we do the real work.
syntax::Expression::Primitive(loc, prim, mut expressions) => {
// generate a fresh new name for the binding site we're going to