Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

support 'InstanceSigs' language extension #68

Open
soenkehahn opened this Issue · 1 comment

2 participants

@soenkehahn

Currently stylish-haskell seems to choke on modules that use the InstanceSigs language extension:

{-# LANGUAGE InstanceSigs #-}

data A = A

instance Show A where
  show :: A -> String
  show A = "A"

produces

Language.Haskell.Stylish.Parse.parseModule: could not parse <unknown>: ParseFailed (SrcLoc {srcFilename = "<unknown>.hs", srcLine = 7, srcColumn = 3}) "ScopedTypeVariables is not enabled"
{-# LANGUAGE InstanceSigs #-}

data A = A

instance Show A where
  show :: A -> String
  show A = "A"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.