mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Move runTermEvaluator up to the top.
This commit is contained in:
parent
cecc4e895a
commit
9856ea7d77
@ -91,7 +91,8 @@ runCallGraph lang includePackages modules package = do
|
||||
analyzeModule = (if includePackages then graphingPackages else id) . convergingModules . graphingModules
|
||||
extractGraph (_, (graph, _)) = simplify graph
|
||||
runGraphAnalysis
|
||||
= runState (lowerBound @(Heap (Hole (Maybe Name) (Located Monovariant)) All Abstract))
|
||||
= runTermEvaluator @_ @(Hole (Maybe Name) (Located Monovariant)) @Abstract
|
||||
. runState (lowerBound @(Heap (Hole (Maybe Name) (Located Monovariant)) All Abstract))
|
||||
. runFresh 0
|
||||
. resumingLoadError
|
||||
. resumingUnspecialized
|
||||
@ -99,7 +100,6 @@ runCallGraph lang includePackages modules package = do
|
||||
. resumingEvalError
|
||||
. resumingResolutionError
|
||||
. resumingAddressError
|
||||
. runTermEvaluator @_ @(Hole (Maybe Name) (Located Monovariant)) @Abstract
|
||||
. graphing
|
||||
. caching
|
||||
. runReader (packageInfo package)
|
||||
|
Loading…
Reference in New Issue
Block a user