Files
modeling-app/rust/kcl-lib/tests/function_sketch/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

93 lines
1.4 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed function_sketch.kcl
---
[
{
"type": "UserDefinedFunctionCall",
"name": "box",
"functionSourceRange": [
6,
220,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
230,
243,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": [
42,
46,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
28,
47,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 3.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
200,
201,
0
]
}
},
"name": "extrude",
"sourceRange": [
183,
202,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
183,
202,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
}
]