Skip to content

Commit be6e48a

Browse files
committed
testdata/codegen: update codegen JSON
1 parent 0998c17 commit be6e48a

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

testdata/codegen/error-context.wit.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
},
3737
{
3838
"name": "y",
39-
"type": 1
39+
"type": "error-context"
4040
},
4141
{
4242
"name": "z",
43-
"type": 2
43+
"type": 1
4444
}
4545
],
46-
"result": 4
46+
"result": 3
4747
}
4848
},
4949
"package": 0
@@ -52,36 +52,33 @@
5252
"types": [
5353
{
5454
"name": "foo",
55-
"kind": "error-context",
55+
"kind": {
56+
"type": "error-context"
57+
},
5658
"owner": {
5759
"interface": 0
5860
}
5961
},
60-
{
61-
"name": null,
62-
"kind": "error-context",
63-
"owner": null
64-
},
6562
{
6663
"name": null,
6764
"kind": {
68-
"future": 1
65+
"future": "error-context"
6966
},
7067
"owner": null
7168
},
7269
{
7370
"name": null,
7471
"kind": {
75-
"stream": 1
72+
"stream": "error-context"
7673
},
7774
"owner": null
7875
},
7976
{
8077
"name": null,
8178
"kind": {
8279
"result": {
83-
"ok": 3,
84-
"err": 1
80+
"ok": 2,
81+
"err": "error-context"
8582
}
8683
},
8784
"owner": null

0 commit comments

Comments
 (0)