Files
modeling-app/rust/kcl-lib/tests/kcl_samples/hex-nut/ops.snap
Jonathan Tran e894242768 Add warning when using a module with no return value (#5771)
* Add warning when using a module with no return value

* Update output files since changing source range of the pipeline argument

* Change wording of error message to not use the term unlabeled
2025-03-12 18:05:18 +00:00

131 lines
2.1 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed hex-nut.kcl
---
[
{
"type": "UserDefinedFunctionCall",
"name": "hexNut",
"functionSourceRange": [
503,
1083,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1105,
1140,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "String",
"value": "-XZ"
},
"sourceRange": [
559,
564,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
545,
565,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
939,
1026,
0
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1028,
1029,
0
]
}
},
"name": "hole",
"sourceRange": [
934,
1030,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.266,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1055,
1058,
0
]
}
},
"name": "extrude",
"sourceRange": [
1038,
1059,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1038,
1059,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
}
]