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

ghc-9.8.3: testsuite: Ambiguous occurrence ‘Unit’. #18

Open
juhp opened this issue Oct 22, 2024 · 1 comment
Open

ghc-9.8.3: testsuite: Ambiguous occurrence ‘Unit’. #18

juhp opened this issue Oct 22, 2024 · 1 comment

Comments

@juhp
Copy link

juhp commented Oct 22, 2024

For Stackage Nightly ghc-9.8.3:

       Building test suite 'test' for generic-arbitrary-1.0.1..                                                                     
       [5 of 6] Compiling RecursiveTest                                                                                             
                                                                                                                                    
       /home/curators/work/unpack-dir/unpacked/generic-arbitrary-1.0.1-38783a7c474443404b797d9acbf1dfe3fd9afdd193eea4c42e26d9d82b2b3
c39/test/RecursiveTest.hs:20:44: error: [GHC-87543]                                                                                 
           Ambiguous occurrence ‘Unit’.                                                                                             
           It could refer to                                                                                                        
              either ‘Control.DeepSeq.Unit’,                                                                                        
                     imported from ‘Control.DeepSeq’ at test/RecursiveTest.hs:11:1-32,                                              
                  or ‘RecursiveTest.Unit’, defined at test/RecursiveTest.hs:16:1.                                                   
          |                                                                                                                         
       20 |   deriving Arbitrary via (GenericArbitrary Unit)      
          |                                            ^^^^                                                                         
                                                                                                                                    
       /home/curators/work/unpack-dir/unpacked/generic-arbitrary-1.0.1-38783a7c474443404b797d9acbf1dfe3fd9afdd193eea4c42e26d9d82b2b3
c39/test/RecursiveTest.hs:27:19: error: [GHC-87543]                                                                                 
           Ambiguous occurrence ‘Unit’.                           
           It could refer to                                                                                                        
              either ‘Control.DeepSeq.Unit’,                                                                                        
                     imported from ‘Control.DeepSeq’ at test/RecursiveTest.hs:11:1-32,                                              
                  or ‘RecursiveTest.Unit’, defined at test/RecursiveTest.hs:16:1.                                                   
          |                                                       
       27 | prop_unitTotal :: Unit -> Property                                                                                      
          |                   ^^^^                                                                                                  
                                                                  
       /home/curators/work/unpack-dir/unpacked/generic-arbitrary-1.0.1-38783a7c474443404b797d9acbf1dfe3fd9afdd193eea4c42e26d9d82b2b3
c39/test/RecursiveTest.hs:59:17: error: [GHC-87543]               
           Ambiguous occurrence ‘Unit’.                                                                                             
           It could refer to                                      
              either ‘Control.DeepSeq.Unit’,                                                                                        
                     imported from ‘Control.DeepSeq’ at test/RecursiveTest.hs:11:1-32,
:
:
@juhp
Copy link
Author

juhp commented Oct 22, 2024

FYI @bgamari - seeing this for at least 3 packages in Stackage

juhp added a commit to commercialhaskell/stackage that referenced this issue Oct 22, 2024
sternenseemann added a commit to NixOS/nixpkgs that referenced this issue Oct 25, 2024
Fails to compile due to a newly exposed type in deepseq 1.5.10:
<typeable/generic-arbitrary#18>.
TheRedstoneDEV-DE pushed a commit to TheRedstoneDEV-DE/nixpkgs that referenced this issue Nov 9, 2024
Fails to compile due to a newly exposed type in deepseq 1.5.10:
<typeable/generic-arbitrary#18>.
yadokani389 pushed a commit to yadokani389/nixpkgs that referenced this issue Nov 10, 2024
Fails to compile due to a newly exposed type in deepseq 1.5.10:
<typeable/generic-arbitrary#18>.
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

1 participant