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:
@ -0,0 +1,6 @@
|
||||
// This tests computed properties.
|
||||
|
||||
p = "foo"
|
||||
obj = { foo = 1, bar = 0 }
|
||||
// Try to index with a string.
|
||||
one = obj[p]
|
Reference in New Issue
Block a user