packages feed

purescript-0.7.5: examples/failing/881.purs

-- @shouldFailWith DuplicateValueDeclaration
module Main where

data X = X | Y

class Foo a where
  foo :: a -> a
  bar :: a

instance fooX :: Foo X where
  foo X = X
  bar = X
  foo Y = Y