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

15 lines
387 B
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 invalid_member_object.kcl
---
KCL Semantic error
× semantic: Only arrays can be indexed, but you're trying to index a
│ number(default units)
╭─[2:5]
1 │ num = 999
2 │ x = num[3]
· ───┬──
· ╰── tests/invalid_member_object/input.kcl
╰────