Updated Nim to the latest dev version on linux today and getting this error when compiling strfmt.nim:
home/lxuser/.nimble/pkgs/strfmt/strfmt.nim(1098, 101) Error: type mismatch: got (typedesc[int])
but expected one of: macros.high(node: NimNode) system.high(x: T)
How can this be fixed ?
Thanks
Thank you for looking into this.
Issue resolved after deleting any older strfmt packages in the nimble directory. My backups show that for some unknown reason, after the latest compiler update , the compiler must have decided to use one of the older strfmt packages rather than the newest one.