haskell-suite / haskell-src-exts

Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer
Other
193 stars 94 forks source link

Parse error on kind synonym #435

Open peddie opened 5 years ago

peddie commented 5 years ago

The following module

module A where

type Foo = * -> *

loads successfully in GHCI 8.6.3, but hlint 2.1.24 fails to parse it with

A.hs:3:12: Error: Parse error
Found:
    module A where

  > type Foo = * -> *
peddie commented 5 years ago

Downstream issue can be found here.