---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing invalid_member_object_using_string.kcl
---
// This tests computed properties.


p = "foo"
obj = { foo = 1, bar = 0 }
// Try to index with a string.
one = obj[p]
