Skip to content

Odd error about 'DatatypeContexts' #34

@hasufell

Description

@hasufell

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 =>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions