mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
🔥 a redundant identity function.
This commit is contained in:
parent
f54bfd181e
commit
8450c30100
@ -72,13 +72,12 @@ evaluateProject' session proxy parser paths = do
|
||||
package <- fmap snd <$> parsePackage parser (Project (takeDirectory (maybe "/" fst (uncons paths))) blobs lang [])
|
||||
modules <- topologicalSort <$> runImportGraphToModules proxy package
|
||||
trace $ "evaluating with load order: " <> show (map (modulePath . moduleInfo) modules)
|
||||
pure (id @(Evaluator _ Precise (Value _ Precise) _ _)
|
||||
(runModuleTable
|
||||
pure (runModuleTable
|
||||
(runModules (ModuleTable.modulePaths (packageModules package))
|
||||
(raiseHandler (runReader (packageInfo package))
|
||||
(raiseHandler (evalState (lowerBound @Span))
|
||||
(raiseHandler (runReader (lowerBound @Span))
|
||||
(evaluate proxy (runDomainEffects (evalTerm (withTermSpans (^. span_)))) modules)))))))
|
||||
(evaluate proxy (runDomainEffects (evalTerm (withTermSpans (^. span_)))) modules))))))
|
||||
either (die . displayException) pure res
|
||||
|
||||
parseFile, parseFileQuiet :: Parser term -> FilePath -> IO term
|
||||
|
Loading…
Reference in New Issue
Block a user