1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00

Note a FIXME.

This commit is contained in:
Rob Rix 2018-06-25 17:50:01 -04:00
parent 45262b585e
commit 6a466c62e6

View File

@ -101,6 +101,7 @@ evaluate lang analyzeModule analyzeTerm modules = do
foldr (run preludeEnv) get modules
where run preludeEnv m rest = do
evaluated <- evalModule preludeEnv m
-- FIXME: this should be some sort of Monoidal insert à la the Heap to accommodate multiple Go files being part of the same module.
modify' (ModuleTable.insert (modulePath (moduleInfo evaluated)) (evaluated :| []))
rest