Skip to content

Commit

Permalink
chore(semantic): Incorrect reference id in snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Jul 24, 2024
1 parent aa56eb4 commit 745ce51
Show file tree
Hide file tree
Showing 61 changed files with 88 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "foo",
"node_id": 15
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 3,
"name": "foo",
"node_id": 21
}
Expand All @@ -51,7 +51,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 2,
"name": "a",
"node_id": 20
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/call-expression
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "T",
"node_id": 11
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer2",
"node_id": 18
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "T",
"node_id": 17
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "A",
"node_id": 11
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "A",
"node_id": 12
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "T",
"node_id": 17
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "Foo",
"node_id": 22
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "printerName",
"node_id": 35
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 3,
"name": "a",
"node_id": 41
}
Expand Down Expand Up @@ -96,7 +96,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer",
"node_id": 30
}
Expand All @@ -110,7 +110,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/declarati
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 2,
"name": "Outer",
"node_id": 38
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expressio
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer2",
"node_id": 20
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expressio
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 3,
"name": "a",
"node_id": 43
}
Expand Down Expand Up @@ -96,7 +96,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expressio
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer",
"node_id": 32
}
Expand All @@ -110,7 +110,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/class/expressio
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 2,
"name": "Outer",
"node_id": 40
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/a
"references": [
{
"flag": "ReferenceFlag(Write)",
"id": 0,
"id": 1,
"name": "b",
"node_id": 20
}
Expand All @@ -45,7 +45,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/a
"references": [
{
"flag": "ReferenceFlag(Write)",
"id": 0,
"id": 2,
"name": "c",
"node_id": 24
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/destructuring/o
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 2,
"name": "obj",
"node_id": 23
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 2,
"name": "a",
"node_id": 34
}
Expand Down Expand Up @@ -88,7 +88,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer",
"node_id": 29
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/arrow
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "arg",
"node_id": 23
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/funct
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 2,
"name": "a",
"node_id": 34
}
Expand Down Expand Up @@ -88,7 +88,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/funct
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer",
"node_id": 29
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/funct
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "arg",
"node_id": 21
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/funct
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 2,
"name": "a",
"node_id": 36
}
Expand Down Expand Up @@ -88,7 +88,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/funct
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "outer",
"node_id": 31
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/functions/funct
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "arg",
"node_id": 23
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-e
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 2,
"name": "T",
"node_id": 28
}
Expand All @@ -62,7 +62,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-e
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "Foo",
"node_id": 24
}
Expand All @@ -76,7 +76,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-e
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 3,
"name": "Bar",
"node_id": 31
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-e
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "value",
"node_id": 19
}
Expand Down Expand Up @@ -69,13 +69,13 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/instantiation-e
"references": [
{
"flag": "ReferenceFlag(Read | TSTypeQuery)",
"id": 0,
"id": 2,
"name": "makeBox",
"node_id": 27
},
{
"flag": "ReferenceFlag(Read)",
"id": 1,
"id": 4,
"name": "makeBox",
"node_id": 36
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute-s
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "x",
"node_id": 12
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/attribute.t
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "x",
"node_id": 17
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/children.ts
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 2,
"name": "child",
"node_id": 14
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/generic-typ
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "T",
"node_id": 13
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 3,
"name": "props",
"node_id": 57
}
Expand Down Expand Up @@ -68,7 +68,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/jsx/namespaced-
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 2,
"name": "FooProps",
"node_id": 45
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/
"references": [
{
"flag": "ReferenceFlag(Read)",
"id": 0,
"id": 1,
"name": "a",
"node_id": 12
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ input_file: crates/oxc_semantic/tests/fixtures/typescript-eslint/new-expression/
"references": [
{
"flag": "ReferenceFlag(Type)",
"id": 0,
"id": 1,
"name": "T",
"node_id": 11
}
Expand Down
Loading

0 comments on commit 745ce51

Please sign in to comment.