git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Allow empty imports lists for only importing instances
commitbf556942b41e6aa38fc9ebb6531bf1bb3fdeb9e3 authorPhil Freeman <paf31@cantab.net> dateTue 11 Mar 2014, 12:13 (13 years ago) parent9a98095
1 file changed+1−1
src/Language/PureScript/Parser/Declarations.hs+1−1
src/Language/PureScript/Parser/Declarations.hs+1−1
@@ -100,7 +100,7 @@ parseImportDeclaration = do
100100 reserved "import"
101101 indented
102102 moduleName' <- moduleName
103− idents <- P.optionMaybe $ parens $ commaSep1 parseDeclarationRef
103+ idents <- P.optionMaybe $ parens $ commaSep parseDeclarationRef
104104 return $ ImportDeclaration moduleName' idents
105105
106106parseDeclarationRef :: P.Parsec String ParseState DeclarationRef