A simple array comparsion will cause error: system module needs: appendString.

Test code:
    
    
    var
      arr1: array[6, uint8] = [0xC2u8, 0x12, 0x35, 0x98, 0x67, 0x00]
      arr2: array[6, uint8] = [0xC3u8, 0x12, 0x35, 0x98, 0x67, 0x00]
    
    proc printf(fmt: cstring) {. varargs, importc: "printf", header: "stdio.h".}
    
    printf("%d", arr1 == arr2)
    
    
    Run

Cfg: 
    
    
    gc = "none"
    define = "release"
    deadCodeElim = "on"
    os = "standalone"
    LineDir = "off"
    debuginfo
    implicitStatic = "on"
    
    
    Run

Reply via email to