Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Jan 25, 2024
1 parent 4be1ae5 commit c3a7e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prqlc/prqlc/tests/integration/static_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn static_eval(prql_source: &str) -> ConstExpr {
let stmts = stmts_tree.sources.values().next().unwrap();
let stmt = stmts.iter().next().unwrap();
let var_def: &VarDef = stmt.kind.as_var_def().unwrap();
let expr: Expr = var_def.value.as_ref().clone();
let expr: Expr = *var_def.value.as_ref().unwrap().clone();

let expr = prqlc::semantic::ast_expand::expand_expr(expr).unwrap();

Expand Down

0 comments on commit c3a7e96

Please sign in to comment.