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

14 lines
345 B
Plaintext
Raw Normal View History

---
source: kcl-lib/src/simulation_tests.rs
description: Error from executing array_index_oob.kcl
---
KCL UndefinedValue error
× undefined value: The array doesn't have any item at index 0
╭─[2:5]
1 │ arr = []
2 │ x = arr[0]
· ───┬──
· ╰── tests/array_index_oob/input.kcl
╰────