Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0.1 testsuite compilation #11

Open
juhp opened this issue Dec 11, 2024 · 1 comment
Open

2.0.0.1 testsuite compilation #11

juhp opened this issue Dec 11, 2024 · 1 comment

Comments

@juhp
Copy link

juhp commented Dec 11, 2024

Stackage Nightly:

       Preprocessing test suite 'tests' for scheduler-2.0.0.1...                                                                    
       Building test suite 'tests' for scheduler-2.0.0.1...                                                                         
       hspec-discover: WARNING - The `--no-main' option is deprecated and will be removed in a future release!                      
       [1 of 3] Compiling Control.SchedulerSpec
       /home/curators/work/unpack-dir/unpacked/scheduler-2.0.0.1-ea28f2ff7a4b31088bc3f3b299e1f425916b1cc369735846d69c4a22bcbab743/te
sts/Control/SchedulerSpec.hs:172:3: error: [GHC-87543]                                                                              
           Ambiguous occurrence ‘assertExceptionIO’.           
           It could refer to                                                                                                        
              either ‘Test.QuickCheck.Monadic.assertExceptionIO’,
                     imported from ‘Test.QuickCheck.Monadic’ at tests/Control/SchedulerSpec.hs:27:1-30,
                  or ‘Control.SchedulerSpec.assertExceptionIO’,
                     defined at tests/Control/SchedulerSpec.hs:636:1.
           |
       172 |   assertExceptionIO
           |   ^^^^^^^^^^^^^^^^^
        
       /home/curators/work/unpack-dir/unpacked/scheduler-2.0.0.1-ea28f2ff7a4b31088bc3f3b299e1f425916b1cc369735846d69c4a22bcbab743/te
sts/Control/SchedulerSpec.hs:182:24: error: [GHC-87543]
           Ambiguous occurrence ‘assertExceptionIO’.
           It could refer to
              either ‘Test.QuickCheck.Monadic.assertExceptionIO’,
                     imported from ‘Test.QuickCheck.Monadic’ at tests/Control/SchedulerSpec.hs:27:1-30,
                  or ‘Control.SchedulerSpec.assertExceptionIO’,
                     defined at tests/Control/SchedulerSpec.hs:636:1.
           |
       182 |   concurrentProperty $ assertExceptionIO (== DivideByZero) (schedule k)
           |                        ^^^^^^^^^^^^^^^^^
        
       /home/curators/work/unpack-dir/unpacked/scheduler-2.0.0.1-ea28f2ff7a4b31088bc3f3b299e1f425916b1cc369735846d69c4a22bcbab743/te
sts/Control/SchedulerSpec.hs:194:3: error: [GHC-87543]
           Ambiguous occurrence ‘assertExceptionIO’.
           It could refer to
              either ‘Test.QuickCheck.Monadic.assertExceptionIO’,
                     imported from ‘Test.QuickCheck.Monadic’ at tests/Control/SchedulerSpec.hs:27:1-30,
                  or ‘Control.SchedulerSpec.assertExceptionIO’,
                     defined at tests/Control/SchedulerSpec.hs:636:1.
           |
       194 |   assertExceptionIO
           |   ^^^^^^^^^^^^^^^^^
        
:
:
juhp added a commit to commercialhaskell/stackage that referenced this issue Dec 11, 2024
@lehins
Copy link
Owner

lehins commented Dec 11, 2024

Thank you for reporting this. My PR into QuicCheck with those functions was finallly merged after 6 years 😄 leading to my packages using the same functionality being broken.
nick8325/quickcheck#222

I'll re-enable the test suite in stackage once I release a fixed up version of scheduler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants