File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -595,7 +595,7 @@ crawlModule foreignDeps mvar pkg src docsStatus name =
595595crawlFile :: Map. Map ModuleName. Raw ForeignInterface -> MVar StatusDict -> Pkg. Name -> FilePath -> DocsStatus -> ModuleName. Raw -> FilePath -> IO (Maybe Status )
596596crawlFile foreignDeps mvar pkg src docsStatus expectedName path =
597597 do bytes <- File. readUtf8 path
598- case Parse. fromByteString pkg bytes of
598+ case Parse. fromByteString ( Parse. Package pkg) bytes of
599599 Right modul@ (Src. Module (Just (A. At _ actualName)) _ _ imports _ _ _ _ _) | expectedName == actualName ->
600600 do deps <- crawlImports foreignDeps mvar pkg src imports
601601 return (Just (SLocal docsStatus deps modul))
Original file line number Diff line number Diff line change 22{-# LANGUAGE OverloadedStrings #-}
33module Parse.Module
44 ( fromByteString
5+ , ProjectType (.. )
56 , chompImports
67 , chompImport
78 )
You can’t perform that action at this time.
0 commit comments