ivan-m / graphviz

Haskell bindings to the Graphviz toolkit
Other
64 stars 24 forks source link

incompatible with GHC 8.6 #39

Closed clinty closed 5 years ago

clinty commented 6 years ago

polyparse has not been updated for GHC 8.6

clinty commented 5 years ago

polyparse was NMUed but there are still issues

clinty commented 5 years ago
Data/GraphViz/Types/Printing.hs:145:16: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Prelude.<>’,
                             imported from ‘Prelude’ at Data/GraphViz/Types/Printing.hs:38:8-35
                             (and originally defined in ‘GHC.Base’)
                          or ‘PP.<>’,
                             imported from ‘Text.PrettyPrint’ at Data/GraphViz/Types/Printing.hs:(51,1)-(58,32)
                             (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
    |
145 | wrap b a d = b <> d <> a
    |                ^^

Data/GraphViz/Types/Printing.hs:145:21: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Prelude.<>’,
                             imported from ‘Prelude’ at Data/GraphViz/Types/Printing.hs:38:8-35
                             (and originally defined in ‘GHC.Base’)
                          or ‘PP.<>’,
                             imported from ‘Text.PrettyPrint’ at Data/GraphViz/Types/Printing.hs:(51,1)-(58,32)
                             (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
    |
145 | wrap b a d = b <> d <> a
    |                     ^^

Data/GraphViz/Types/Printing.hs:148:26: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Prelude.<>’,
                             imported from ‘Prelude’ at Data/GraphViz/Types/Printing.hs:38:8-35
                             (and originally defined in ‘GHC.Base’)
                          or ‘PP.<>’,
                             imported from ‘Text.PrettyPrint’ at Data/GraphViz/Types/Printing.hs:(51,1)-(58,32)
                             (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
    |
148 | commaDel a b = unqtDot a <> comma <> unqtDot b
    |                          ^^

Data/GraphViz/Types/Printing.hs:148:35: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Prelude.<>’,
                             imported from ‘Prelude’ at Data/GraphViz/Types/Printing.hs:38:8-35
                             (and originally defined in ‘GHC.Base’)
                          or ‘PP.<>’,
                             imported from ‘Text.PrettyPrint’ at Data/GraphViz/Types/Printing.hs:(51,1)-(58,32)
                             (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
    |
148 | commaDel a b = unqtDot a <> comma <> unqtDot b
    |                                   ^^

Data/GraphViz/Types/Printing.hs:151:25: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Prelude.<>’,
                             imported from ‘Prelude’ at Data/GraphViz/Types/Printing.hs:38:8-35
                             (and originally defined in ‘GHC.Base’)
                          or ‘PP.<>’,
                             imported from ‘Text.PrettyPrint’ at Data/GraphViz/Types/Printing.hs:(51,1)-(58,32)
                             (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
    |
151 | printField f v = text f <> equals <> toDot v
    |                         ^^

Data/GraphViz/Types/Printing.hs:151:35: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Prelude.<>’,
                             imported from ‘Prelude’ at Data/GraphViz/Types/Printing.hs:38:8-35
                             (and originally defined in ‘GHC.Base’)
                          or ‘PP.<>’,
                             imported from ‘Text.PrettyPrint’ at Data/GraphViz/Types/Printing.hs:(51,1)-(58,32)
                             (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
    |
151 | printField f v = text f <> equals <> toDot v
    |                                   ^^
cabal: Failed to build graphviz-2999.5.0.0