Upgrade to ts-rs 11.0 for TS type fixes (#7581)

* Bump ts-rs from 10.1.0 to 11.0.1

* Fix breaking changes

* Fix tsc errors

* Update output

* Upgrade to kittycad-modeling-cmds 0.2.124 for ts-rs update

* Update parser snaps

* Update output of gridfinity_bins_stacking_lip sample

* Fix missing field in TS unit tests

* Fix tsc type error with fixed_size_grid project setting
This commit is contained in:
Jonathan Tran
2025-06-24 14:38:43 -04:00
committed by GitHub
parent e4941cb524
commit c7f0a6c2a0
387 changed files with 74834 additions and 24 deletions

View File

@ -13,6 +13,7 @@ description: Result of parsing array_elem_push.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_elem_push.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -35,6 +37,7 @@ description: Result of parsing array_elem_push.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -47,6 +50,7 @@ description: Result of parsing array_elem_push.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -58,15 +62,18 @@ description: Result of parsing array_elem_push.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -79,6 +86,7 @@ description: Result of parsing array_elem_push.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -90,6 +98,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "item",
"start": 0,
"type": "Identifier"
@ -97,6 +106,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -112,9 +122,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "push",
"start": 0,
"type": "Identifier"
@ -125,6 +137,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -132,9 +145,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -145,11 +160,13 @@ description: Result of parsing array_elem_push.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -162,6 +179,7 @@ description: Result of parsing array_elem_push.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -173,6 +191,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "item",
"start": 0,
"type": "Identifier"
@ -180,6 +199,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -195,9 +215,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "push",
"start": 0,
"type": "Identifier"
@ -208,6 +230,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -215,9 +238,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -228,11 +253,13 @@ description: Result of parsing array_elem_push.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -247,6 +274,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -254,6 +282,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -269,6 +298,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -276,6 +306,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
"type": "Literal",
@ -288,9 +319,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -301,6 +334,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -308,13 +342,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -327,6 +364,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -341,6 +379,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -355,6 +394,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -362,6 +402,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -377,6 +418,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -384,6 +426,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
"type": "Literal",
@ -396,9 +439,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -409,6 +454,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -416,13 +462,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -435,6 +484,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -449,6 +499,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -463,6 +514,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -470,6 +522,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -485,6 +538,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -492,6 +546,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 2 should not have changed\"",
"start": 0,
"type": "Literal",
@ -504,9 +559,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -517,6 +574,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -524,13 +582,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -543,6 +604,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -557,6 +619,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -571,6 +634,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -578,6 +642,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -593,6 +658,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -600,6 +666,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"4 was added to the end of the array\"",
"start": 0,
"type": "Literal",
@ -612,9 +679,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -625,6 +694,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -632,13 +702,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -651,6 +724,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -665,6 +739,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -679,6 +754,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -686,6 +762,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -701,6 +778,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -708,6 +786,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
"type": "Literal",
@ -720,9 +799,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -733,6 +814,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -740,13 +822,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -759,6 +844,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -773,6 +859,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -787,6 +874,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -794,6 +882,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -809,6 +898,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -816,6 +906,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
"type": "Literal",
@ -828,9 +919,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -841,6 +934,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -848,13 +942,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -867,6 +964,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -881,6 +979,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -895,6 +994,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -902,6 +1002,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -917,6 +1018,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -924,6 +1026,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 2 should not have changed\"",
"start": 0,
"type": "Literal",
@ -936,9 +1039,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -949,6 +1054,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -956,13 +1062,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -975,6 +1084,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -989,6 +1099,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -1003,6 +1114,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -1010,6 +1122,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -1025,6 +1138,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -1032,6 +1146,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"4 was added to the end of the array\"",
"start": 0,
"type": "Literal",
@ -1044,9 +1159,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -1057,6 +1174,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -1064,13 +1182,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -1083,6 +1204,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -1097,6 +1219,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -1111,6 +1234,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -1118,6 +1242,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -1133,6 +1258,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -1140,6 +1266,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"5 was added to the end of the array\"",
"start": 0,
"type": "Literal",
@ -1152,9 +1279,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -1165,6 +1294,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -1172,13 +1302,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -1191,6 +1324,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -1205,6 +1339,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -1212,6 +1347,7 @@ description: Result of parsing array_elem_push.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}