Limited property notation support
Closed this issue · 1 comments
mitranim commented
Right now, .dot
and [bracket]
notation has the following issues:
Can’t be used with string literals(fixed in 0.2.17)- Can’t be used with
(fixed in 0.2.18)#n
and#
notation (NYI) - Can’t be used with lists that resolve to JS expressions (e.g.
((mystring.replace /-/ '_').trim)
) Orphan property notation needs to be supported everywhere you can use the(fixed in 0.2.17)(get property)
form (for instance, as arguments in macros)
In all of those cases, the current workaround is to use the (get object property)
notation or chaining with (do object (.stuff))
. ToDo fix.
mitranim commented
Fixed fully (hopefully) in 0.3.0.