Haskell-Things / HSlice

HSlice - A Haskell based slicer for 3D printing.
https://implicitcad.org/
GNU Affero General Public License v3.0
74 stars 5 forks source link

CI Update #72

Closed sorki closed 2 years ago

sorki commented 2 years ago

GHC9 complains

Error:     Pattern match is redundant
    In a case alternative: (Slist [] _) -> ...
   |
67 |                             (Slist [] _) -> error "looking for a first ENode in an empty ENodeSet."
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

But looking at the code I don't see how it finds it redundant.