(this[0]) adding a new element to a listing instead of amending it #239
-
Say I have the following classes:
And the following toy config files:
When I evaluate
Now, leaving aside that I could write What I think is happening is that |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I think |
Beta Was this translation helpful? Give feedback.
-
According to the docs that is what I would expect 🤔. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
The
myListing { myExpr }
syntax adds an element. To overwrite an element, you need to use themyListing { [index] = myExpr }
syntax.