---
source: prql-compiler/src/semantic/resolver.rs
expression: "resolve_derive(r#\"\n func plus_one x -> x + 1\n func plus x y -> x + y\n\n from a\n derive [b = (sum foo | plus_one | plus 2)]\n \"#).unwrap()"
---
- id: 10
Binary:
left:
id: 26
Literal:
Integer: 2
ty:
Literal: Integer
op: Add
right:
id: 27
Binary:
left:
id: 23
SString:
- String: SUM(
- Expr:
id: 15
Ident:
- _frame
- a
- foo
target_id: 6
ty: Infer
- String: )
ty: Infer
op: Add
right:
id: 24
Literal:
Integer: 1
ty:
Literal: Integer
ty: Infer
ty:
Literal: Column
alias: b