BREAKING: Change to disallow indexing KCL records/objects with strings (#6529)

* Change to disallow indexing records/objects with strings

* Update output

* Remove outdated sim test

* Fix tests
This commit is contained in:
Jonathan Tran
2025-04-28 12:08:47 -04:00
committed by GitHub
parent 719136937e
commit 2e754f2a11
26 changed files with 297 additions and 1633 deletions

View File

@ -0,0 +1,6 @@
// This tests computed properties.
p = "foo"
obj = { foo = 1, bar = 0 }
// Try to index with a string.
one = obj[p]