Turn on units of measure (BREAKING CHANGE) (#6343)

* Turn on uom checks

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Convert all lengths to mm for engine calls

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-23 10:58:35 +12:00
committed by GitHub
parent 3d22f6cd66
commit b7385d5f25
339 changed files with 35471 additions and 17237 deletions

View File

@ -1454,27 +1454,42 @@ description: Result of parsing import_async.kcl
"arguments": [
{
"commentStart": 0,
"computed": true,
"end": 0,
"object": {
"expr": {
"commentStart": 0,
"computed": true,
"end": 0,
"name": "invas",
"object": {
"commentStart": 0,
"end": 0,
"name": "invas",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"property": {
"commentStart": 0,
"end": 0,
"name": "i",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"property": {
"commentStart": 0,
"end": 0,
"name": "i",
"start": 0,
"type": "Identifier",
"type": "Identifier"
"type": "MemberExpression",
"type": "MemberExpression"
},
"start": 0,
"type": "MemberExpression",
"type": "MemberExpression"
"ty": {
"Rad": null,
"commentStart": 0,
"end": 0,
"p_type": "Number",
"start": 0,
"type": "Primitive"
},
"type": "AscribedExpression",
"type": "AscribedExpression"
}
],
"callee": {
@ -1653,27 +1668,42 @@ description: Result of parsing import_async.kcl
"arguments": [
{
"commentStart": 0,
"computed": true,
"end": 0,
"object": {
"expr": {
"commentStart": 0,
"computed": true,
"end": 0,
"name": "invas",
"object": {
"commentStart": 0,
"end": 0,
"name": "invas",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"property": {
"commentStart": 0,
"end": 0,
"name": "i",
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"start": 0,
"type": "Identifier",
"type": "Identifier"
},
"property": {
"commentStart": 0,
"end": 0,
"name": "i",
"start": 0,
"type": "Identifier",
"type": "Identifier"
"type": "MemberExpression",
"type": "MemberExpression"
},
"start": 0,
"type": "MemberExpression",
"type": "MemberExpression"
"ty": {
"Rad": null,
"commentStart": 0,
"end": 0,
"p_type": "Number",
"start": 0,
"type": "Primitive"
},
"type": "AscribedExpression",
"type": "AscribedExpression"
}
],
"callee": {