mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Fix runEvaluatingWithPrelude
This commit is contained in:
parent
56af15be92
commit
03c69cc2f9
@ -81,7 +81,7 @@ evalTypeScriptProject path = runEvaluating . evaluatePackageBody <$> parseProjec
|
||||
evalTypeScriptFile path = runEvaluating . evaluateModule <$> parseFile typescriptParser Nothing path
|
||||
typecheckTypeScriptFile path = runAnalysis @(Caching (Evaluating Monovariant TypeScript.Term Type)) . evaluateModule <$> parseFile typescriptParser Nothing path
|
||||
|
||||
runEvaluatingWithPrelude parser exts path = fmap runEvaluating . (withPrelude <$> parsePrelude parser <*> evaluatePackageBody <$> parseProject parser exts path)
|
||||
runEvaluatingWithPrelude parser exts path = runEvaluating <$> (withPrelude <$> parsePrelude parser <*> (evaluatePackageBody <$> parseProject parser exts path))
|
||||
|
||||
-- TODO: Remove this by exporting EvaluatingEffects
|
||||
runEvaluating :: forall term effects a.
|
||||
|
Loading…
Reference in New Issue
Block a user