Skip to content

Commit

Permalink
fix judoc scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Dec 20, 2023
1 parent f7057b0 commit e91cbe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1066,9 +1066,9 @@ checkTopModule m@Module {..} = checkedModule
(tab, (e, body', path', doc')) <- evalState iniScope $ runInfoTableBuilder mempty $ do
path' <- freshTopModulePath
withTopScope $ do
(e, body') <- topBindings (checkModuleBody _moduleBody)
doc' <- mapM checkJudoc _moduleDoc
registerModuleDoc (path' ^. S.nameId) doc'
(e, body') <- topBindings (checkModuleBody _moduleBody)
return (e, body', path', doc')
localModules <- getLocalModules e
let md =
Expand Down

0 comments on commit e91cbe0

Please sign in to comment.