I'm not the smartest but I tried to postpone this thread as long as possible to and try different things on my own, so I can't accept lazy man D: .
I can see why == is the main problem here, what blocks me is that it works fine on the playground, also when I run that playground snippet on my local laptop using nim c -r snippet.nim it also compiles fine. So it isn't arch/OS related.