Closed treeform closed 6 years ago
I have updated to new nim:
Nim Compiler Version 0.17.3 [MacOSX: amd64]
Copyright (c) 2006-2017 by Andreas Rumpf
git hash: 8fbe37b2d813f00ca934cee2fe17bc2e24f82f88
active boot switches: -d:release
And also pulled from github directly. I don't see the issue at the moment. Maybe some thing old was bad.
I think its was a nim problem and has been fixed. I will reopen if I see it again.
Please download this file: https://github.com/ua-parser/uap-core/blob/master/tests/test_device.yaml
And run this program: https://gist.github.com/treeform/c140984cf3e69e7c8ed8e76feba5c004
It reads the file twice and compares the results. They are not equal and assert is triggered. They should be equal its the same file.
Its random what will happen but once you compile a program same random thing will happen in the binary. Compiling without changes produces the same binary. Compiling with changes causes it to crash some place else. Some times no issues happens it it runs fine.
So far I have seen: