src/IHaskell/Eval/Parser.hs: s/y/by/

This commit is contained in:
Vaibhav Sagar 2018-03-06 07:00:58 +08:00
parent 21a907f2be
commit e2abc7e98e

View File

@ -288,7 +288,7 @@ parseDirective _ _ = error "Directive must start with colon!"
-- | Parse a module and return the name declared in the 'module X where' line. That line is
-- required, and if it does not exist, this will error. Names with periods in them are returned
-- piece y piece.
-- piece by piece.
getModuleName :: GhcMonad m => String -> m [String]
getModuleName moduleSrc = do
flags <- getSessionDynFlags