Skip to content

Commit

Permalink
update test snaps
Browse files Browse the repository at this point in the history
Signed-off-by: shruti2522 <[email protected]>
  • Loading branch information
shruti2522 committed Jul 5, 2024
1 parent d43ab40 commit 9273ba0
Show file tree
Hide file tree
Showing 4 changed files with 531 additions and 247 deletions.
245 changes: 2 additions & 243 deletions kclvm/loader/src/snapshots/kclvm_loader__tests__builtin_call_0.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
source: loader/src/tests.rs
assertion_line: 37
expression: "format!(\"{:#?}\", p.symbols.values())"
---
[
Expand Down Expand Up @@ -52,248 +53,6 @@ expression: "format!(\"{:#?}\", p.symbols.values())"
attrs: [],
is_global: false,
},
SymbolInfo {
ty: Type {
kind: StrLit(
"hello world",
),
is_type_alias: false,
flags: STR | LITERAL,
},
name: "@StringLitExpression",
range: (
Position {
filename: "test.k",
line: 1,
column: Some(
19,
),
},
Position {
filename: "test.k",
line: 1,
column: Some(
19,
),
},
),
owner: None,
def: Some(
SymbolRef {
id: Index {
index: 0,
generation: 0,
},
kind: Expression,
},
),
attrs: [
SymbolRef {
id: Index {
index: 137,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 138,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 139,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 140,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 141,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 142,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 143,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 144,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 145,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 146,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 147,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 148,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 149,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 150,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 151,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 152,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 153,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 154,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 155,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 156,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 157,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 158,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 159,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 160,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 161,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 162,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 163,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 164,
generation: 0,
},
kind: Function,
},
SymbolRef {
id: Index {
index: 165,
generation: 0,
},
kind: Function,
},
],
is_global: false,
},
SymbolInfo {
ty: Type {
kind: None,
Expand Down Expand Up @@ -321,7 +80,7 @@ expression: "format!(\"{:#?}\", p.symbols.values())"
def: Some(
SymbolRef {
id: Index {
index: 1,
index: 0,
generation: 0,
},
kind: Expression,
Expand Down
Loading

0 comments on commit 9273ba0

Please sign in to comment.