Commit 19f18162 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Update tests for generics

parent 35baa54e
T3101.hs:9:12:
Can't make a derived instance of `Show Boom':
Constructor `Boom' does not have a Haskell-98 type
Possible fix: use a standalone deriving declaration instead
In the data type declaration for `Boom'
T3101.hs:9:12:
Can't make a derived instance of `Show Boom':
Constructor `Boom' must have a Haskell-98 type
Possible fix: use a standalone deriving declaration instead
In the data type declaration for `Boom'
{-# LANGUAGE TypeOperators, DefaultSignatures, FlexibleInstances, DeriveGeneric #-}
-- {-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleContexts #-}
module Main where
......
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveGeneric, DatatypeContexts #-}
module CannotDoRep1 where
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment