Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: shruti2522 <[email protected]>

remove inlay hints for kwargs

Signed-off-by: shruti2522 <[email protected]>

remove kw_name

Signed-off-by: shruti2522 <[email protected]>

fix ci

Signed-off-by: shruti2522 <[email protected]>

add inlay hints for function call args

Signed-off-by: shruti2522 <[email protected]>

make fmt

Signed-off-by: shruti2522 <[email protected]>

add inlay hints for function call args

Signed-off-by: shruti2522 <[email protected]>

test ci

Signed-off-by: shruti2522 <[email protected]>

test ci

Signed-off-by: shruti2522 <[email protected]>

fix indexing error

Signed-off-by: shruti2522 <[email protected]>

fix ci

Signed-off-by: shruti2522 <[email protected]>

update test snaps

Signed-off-by: shruti2522 <[email protected]>

fix ci

Signed-off-by: shruti2522 <[email protected]>

fix ci

Signed-off-by: shruti2522 <[email protected]>
  • Loading branch information
shruti2522 committed Jul 5, 2024
1 parent 1354377 commit a2413aa
Show file tree
Hide file tree
Showing 7 changed files with 568 additions and 327 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 a2413aa

Please sign in to comment.