1
1
mirror of https://github.com/github/semantic.git synced 2024-12-14 17:31:48 +03:00

Add AbstractHole for scope and frame addresses

Co-Authored-By: Josh Vera <vera@github.com>
This commit is contained in:
Rick Winfrey 2018-11-27 17:19:36 -08:00
parent 817aa6550b
commit b96c32ae9c

View File

@ -345,11 +345,12 @@ resumingLoadError :: ( Carrier sig m
, Member Trace sig
, Ord address
, AbstractHole value
, AbstractHole address
)
=> Evaluator term address value (ResumableWithC (BaseError (LoadError address value)) (Eff m)) a
-> Evaluator term address value m a
resumingLoadError = runLoadErrorWith (\ baseError -> traceError "LoadError" baseError *> case baseErrorException baseError of
ModuleNotFoundError _ -> pure (lowerBound, (lowerBound, hole)))
ModuleNotFoundError _ -> pure (hole, (hole, hole)))
resumingEvalError :: ( Carrier sig m
, Member Fresh sig