While playing around with the library, I tried looping over arrays combined with @this.
The libary does seem to detect whether or not the given path is valid (#.#.#.@this does not work at all as expected) but does not return the expected results. As in the example below, I expected the same results for both loops. Am I missing something here?
While playing around with the library, I tried looping over arrays combined with
@this
.The libary does seem to detect whether or not the given path is valid (
#.#.#.@this
does not work at all as expected) but does not return the expected results. As in the example below, I expected the same results for both loops. Am I missing something here?Using
0.#.@this
works just fine.https://go.dev/play/p/VKc4RFPEvAL
Output: