haskell-suite/haskell-src-exts

Parse error on kind synonym

peddie opened this issue · 1 comments

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

Downstream issue can be found here.