Skip to content

Merging massiv doesn't detect some re-exports #11

@sgraf812

Description

@sgraf812

After manually fixing the blockers for merging https://github.com/dnlkrgr/hsreduce/files/5688386/repro.zip described in #8, #9 and #10, I finally got to the renamer. Now I get a lot of errors like

AllInOne.hs:6832:11: error:                                                                                                                        
    Not in scope: type constructor or class ‘GHC.Types.~’                                                                                          
    No module named ‘GHC.Types’ is imported.                                                                                                       
     |                                                                                                                                             
6832 |           GHC.Types.~                                                                                                                       
     |           ^^^^^^^^^^^                                                                                                                       

I think ~ is imported through Prelude and there is no import GHC.Types needed to import. The qualification needs to be adjusted accordingly.

Same for

AllInOne.hs:18421:12: error:                                                                                                                       
    Not in scope: ‘Data.Vector.Generic.Base.basicUnsafeThaw’                                                                                       
    Perhaps you meant one of these:                                                                                                                
      ‘Data.Vector.Generic.basicUnsafeThaw’ (imported from Data.Vector.Generic),                                                                   
      ‘Data.Vector.Generic.Mutable.basicUnsafeNew’ (imported from Data.Vector.Generic.Mutable),                                                    
      ‘Data.Vector.Generic.Mutable.basicUnsafeNew’ (imported from Data.Vector.Generic.Mutable)                                                     
    No module named ‘Data.Vector.Generic.Base’ is imported.                                                                                        
      |                                                                                                                                            
18421 |            Data.Vector.Generic.Base.basicUnsafeThaw vec_a17SX)                                                                             
      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                        

which is the same issue for D.V.Generic vs. D.V.G.Base.

I thought these kind of issues should be gone now that you use lookupGRE_name? Maybe this comment has to do with that?

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