mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Generalize throwBaseError.
This commit is contained in:
parent
dcc30249c4
commit
aba2afece7
@ -39,9 +39,10 @@ throwBaseError :: ( Member (Resumable (BaseError exc)) sig
|
|||||||
, Member (Reader M.ModuleInfo) sig
|
, Member (Reader M.ModuleInfo) sig
|
||||||
, Member (Reader S.Span) sig
|
, Member (Reader S.Span) sig
|
||||||
, Carrier sig m
|
, Carrier sig m
|
||||||
|
, Monad m
|
||||||
)
|
)
|
||||||
=> exc resume
|
=> exc resume
|
||||||
-> Evaluator term address value m resume
|
-> m resume
|
||||||
throwBaseError err = do
|
throwBaseError err = do
|
||||||
moduleInfo <- currentModule
|
moduleInfo <- currentModule
|
||||||
span <- currentSpan
|
span <- currentSpan
|
||||||
|
Loading…
Reference in New Issue
Block a user