Skip to content

Tests fail to build with GHCJS #48

@phadej

Description

@phadej
[1 of 4] Compiling TestUtil         ( test/TestUtil.hs, /code/other-haskell/extra/dist-newstyle/build/x86_64-linux/ghcjs-8.4.0.1/extra-1.6.17/t/extra-test/build/extra-test/extra-test-tmp/TestUtil.js_o )

test/TestUtil.hs:10:6: error:
    Conflicting exports for ‘isWindows’:
       ‘module X’ exports ‘X.isWindows’
         imported from ‘System.FilePath’ at test/TestUtil.hs:33:1-27
         (and originally defined in ‘System.FilePath.Posix’)
       ‘module X’ exports ‘X.isWindows’
         imported from ‘System.Info.Extra’ at test/TestUtil.hs:34:1-29
   |
10 |     ,module X

This is no biggie, and I can workaround it easy by having an override

      extra          = dontCheckGHCJS super.extra;

but if it can be fixed, all the better!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions