OldhamMade / ll

ll - a more informative `ls`, based on `k`
MIT License
23 stars 3 forks source link

fix build error #50

Closed sheerluck closed 3 years ago

sheerluck commented 4 years ago

Error: type mismatch: got <Mode, cint>

OldhamMade commented 4 years ago

Hey @sheerluck, thanks for submitting this PR. Unfortunately, it seems to be failing on Travis-CI so I'm not able to merge:

... /home/travis/build/OldhamMade/ll/src/ll.nim(155, 9) Error: type mismatch: got <Mode, uint64>
... but expected one of: 
... proc `and`(x, y: int32): int32
...   first type mismatch at position: 2
...   required type: int32
...   but expression 'uint64(1024)' is of type: uint64
... proc `and`(x, y: int64): int64
...   first type mismatch at position: 2
...   required type: int64
...   but expression 'uint64(1024)' is of type: uint64
... proc `and`(x, y: int): int
...   first type mismatch at position: 2
...   required type: int
...   but expression 'uint64(1024)' is of type: uint64
OldhamMade commented 3 years ago

Builds fine locally. I'm merging, and will replace TravisCI with GitHub actions soon.