argon icon indicating copy to clipboard operation
argon copied to clipboard

Odd error about 'DatatypeContexts'

Open hasufell opened this issue 6 years ago • 0 comments

DatatypeContexts is deprecated anyway and the following file will yield an error, while it compiles perfectly with ghc-8.0.2:

module Foo where

data Show a => Foo a = Foo a

Error:

src/Foo.hs
	error: 3:6 Illegal datatype context (use DatatypeContexts): Show a =>

hasufell avatar Jun 18 '18 10:06 hasufell