* Improve docs around PI Signed-off-by: Nick Cameron <nrc@ncameron.org> * Refactor and polish type error messages Signed-off-by: Nick Cameron <nrc@ncameron.org> * Add suggestion to fix unknown numbers error Signed-off-by: Nick Cameron <nrc@ncameron.org> * Don't warn so often about unknown units Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
14 lines
366 B
Plaintext
14 lines
366 B
Plaintext
---
|
||
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
|
||
╭─[2:5]
|
||
1 │ num = 999
|
||
2 │ x = num[3]
|
||
· ───┬──
|
||
· ╰── tests/invalid_member_object/input.kcl
|
||
╰────
|