Skip to content

Double brackets `transform`: Handling complex nested brackets

Taking this file transform/double_brackets.go, we can handle uses of array.

It will change G2PState[4][2] to G2PState[4+2].

But taking this example:

my_array[my_second_array[2]]

The transform does not handle it yet.

Edited by Hugo Moreau
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information