Files
modeling-app/rust/kcl-lib/tests/panic_repro_cube/execution_error.snap

29 lines
1.4 KiB
Plaintext
Raw Normal View History

---
source: kcl-lib/src/simulation_tests.rs
description: Error from executing panic_repro_cube.kcl
---
KCL Semantic error
× semantic: This function expected the input argument to be tag identifier
│ but it's actually of type tag
╭─[43:5]
42 │ // these double wrapped functions are the point of this test
43 │ getNextAdjacentEdge(getNextAdjacentEdge(seg01)),
· ───────────────────────┬───────────────────────┬
· │ ╰── tests/panic_repro_cube/input.kcl
· ╰── tests/panic_repro_cube/input.kcl
44 │ getNextAdjacentEdge(getNextAdjacentEdge(seg02))
╰────
╰─▶ KCL Semantic error
× semantic: This function expected the input argument to be tag
│ identifier but it's actually of type tag
╭─[43:25]
42 │ // these double wrapped functions are the point of this test
43 │ getNextAdjacentEdge(getNextAdjacentEdge(seg01)),
· ─────────────┬────────────
· ╰── tests/panic_repro_cube/
input.kcl
44 │ getNextAdjacentEdge(getNextAdjacentEdge(seg02))
╰────