Parse failure when importing with an explicit namespace
Taneb opened this issue · 0 comments
Taneb commented
The file
{-# LANGUAGE ExplicitNamespaces #-}
import Prelude (type Bool)parses fine with GHC, but with Language.Haskell.Exts.parseFile I get the following error:
ParseFailed (SrcLoc "../Test.hs" 3 22) "Parse error: Bool"I believe this is due to the explicit namespace in the import