add Alias expression

This commit is contained in:
Folkert 2020-08-05 22:45:25 +02:00
parent c18bbe9a63
commit dab00f2e2d
2 changed files with 8 additions and 1 deletions

View file

@ -260,6 +260,7 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
match expr {
Literal(literal) => build_exp_literal(env, layout_ids, scope, parent, literal),
Alias(symbol) => load_symbol(env, scope, symbol),
RunLowLevel(op, symbols) => {
let mut args = Vec::with_capacity_in(symbols.len(), env.arena);