Files
modeling-app/rust/kcl-lib/tests/panic_repro_cube/execution_error.snap
Nick Cameron 3936017f10 Tag types (#7458)
* Replace tag type with tagIdent and tagDecl

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

* Replace tagIdent with TaggedEdge and TaggedFace

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-06-16 09:10:36 +12:00

30 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
source: kcl-lib/src/simulation_tests.rs
description: Error from executing panic_repro_cube.kcl
---
KCL Semantic error
× semantic: The input argument of `getNextAdjacentEdge` requires a value
│ with type `TaggedEdge`, but found a unique ID (uuid) (with type `Edge`).
╭─[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: The input argument of `getNextAdjacentEdge` requires a
│ value with type `TaggedEdge`, but found a unique ID (uuid) (with
│ type `Edge`).
╭─[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))
╰────