2025-05-10 13:00:14 -07:00
|
|
|
|
---
|
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
|
description: Error from executing panic_repro_cube.kcl
|
|
|
|
|
---
|
|
|
|
|
KCL Semantic error
|
|
|
|
|
|
2025-06-16 09:10:36 +12:00
|
|
|
|
× semantic: The input argument of `getNextAdjacentEdge` requires a value
|
|
|
|
|
│ with type `TaggedEdge`, but found a unique ID (uuid) (with type `Edge`).
|
2025-05-29 10:14:04 +12:00
|
|
|
|
╭─[43:5]
|
2025-05-10 13:00:14 -07:00
|
|
|
|
42 │ // these double wrapped functions are the point of this test
|
|
|
|
|
43 │ getNextAdjacentEdge(getNextAdjacentEdge(seg01)),
|
2025-05-29 10:14:04 +12:00
|
|
|
|
· ───────────────────────┬───────────────────────┬
|
|
|
|
|
· │ ╰── tests/panic_repro_cube/input.kcl
|
|
|
|
|
· ╰── tests/panic_repro_cube/input.kcl
|
2025-05-10 13:00:14 -07:00
|
|
|
|
44 │ getNextAdjacentEdge(getNextAdjacentEdge(seg02))
|
|
|
|
|
╰────
|
2025-05-29 10:14:04 +12:00
|
|
|
|
╰─▶ KCL Semantic error
|
|
|
|
|
|
2025-06-16 09:10:36 +12:00
|
|
|
|
× semantic: The input argument of `getNextAdjacentEdge` requires a
|
|
|
|
|
│ value with type `TaggedEdge`, but found a unique ID (uuid) (with
|
|
|
|
|
│ type `Edge`).
|
2025-05-29 10:14:04 +12:00
|
|
|
|
╭─[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))
|
|
|
|
|
╰────
|