swap() doesn't seem to work on gmic cli [SOLVED]

I just want to check if anyone else having this issue. This is what I attempted.

D:\Programs\G'MIC\gmic-community>gmic sp lena rep_jr_bitplane_shuffler 8,1,50
[gmic]-0./ Start G'MIC interpreter.
[gmic]-1./ Input sample image 'lena' (1 image 512x512x1x3).
[gmic] *** Error in ./rep_jr_bitplane_shuffler/*repeat/*local/*repeat/ *** Command 'fill': Unrecognized function call 'swap(shuf[m],shuf[n])' in expression '...its;swap(shuf[m],shuf[n]);srand(m+n+1)...'.
[gmic] Command 'fill' has the following description:

Yet, on Krita GUI filter, it works fine. What’s up with that?

It also works in the GIMP GUI.

I checked if it would work on gmic-cli 2.9.2

It does.