1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Revert runScopeGraph changes

This commit is contained in:
joshvera 2020-02-11 12:49:37 -05:00
parent 3ee0ffd41c
commit c588a8aab8

View File

@ -60,7 +60,7 @@ The graph should be
runScopeGraph :: ToScopeGraph t => Path.AbsRelFile -> Source.Source -> t Loc -> (ScopeGraph.ScopeGraph Name, Result)
runScopeGraph p _src item = run . evalFresh 1 . fmap (first sGraph) . runState lowerBound $ scopeGraph item
runScopeGraph p _src item = run . runSketch (Just p) $ scopeGraph item
sampleGraphThing :: ScopeGraphEff sig m => m Result
sampleGraphThing = do