Files
modeling-app/rust/kcl-lib/tests/cube_with_error/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.5 KiB
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed cube_with_error.kcl
---
[
{
"type": "UserDefinedFunctionCall",
"name": "cube",
"functionSourceRange": [
7,
392,
0
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
403,
419,
0
]
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": [
191,
193,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
177,
194,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 40.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
383,
389,
0
]
}
},
"name": "extrude",
"sourceRange": [
366,
390,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
366,
390,
0
]
}
},
{
"type": "UserDefinedFunctionReturn"
}
]