Advertisement
Guest User

Untitled

a guest
Oct 30th, 2020
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. [127 of 245] Compiling Darcs.Util.Index ( src\Darcs\Util\Index.hs, C:\msys64\home\ganesh\darcs\screened\dist-newstyle\build\x86_64-windows\ghc-8.6.5\darcs-2.16.3\noopt\build\Darcs\Util\Index.o )
  2.  
  3. src\Darcs\Util\Index.hs:271:10: error:
  4. * Couldn't match type `System.PosixCompat.Types.FileID'
  5. with `System.Posix.Types.CIno'
  6. Expected type: FileStatus -> FileID
  7. Actual type: Maybe F.FileStatus
  8. -> System.PosixCompat.Types.FileID
  9. * In the expression: maybe 0 F.fileID
  10. In an equation for `fileID': fileID = maybe 0 F.fileID
  11. |
  12. 271 | fileID = maybe 0 F.fileID
  13. | ^^^^^^^^^^^^^^^^
  14.  
  15. src\Darcs\Util\Index.hs:685:15: error:
  16. * Couldn't match type `System.PosixCompat.Types.FileID'
  17. with `System.Posix.Types.CIno'
  18. Expected type: IO (Maybe FileID)
  19. Actual type: IO (Maybe System.PosixCompat.Types.FileID)
  20. * In the expression: fmap F.fileID <$> getFileStatus (realPath p)
  21. In an equation for `getFileID':
  22. getFileID p = fmap F.fileID <$> getFileStatus (realPath p)
  23. |
  24. 685 | getFileID p = fmap F.fileID <$> getFileStatus (realPath p)
  25. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement