mirror of
https://github.com/github/semantic.git
synced 2024-12-29 01:42:43 +03:00
Use ErrorContext's Lower instance
This commit is contained in:
parent
00a24473c7
commit
7c7749e150
@ -118,7 +118,7 @@ runLoadErrorWith = runResumableWith
|
||||
throwLoadError :: Member (Resumable (BaseError (LoadError address))) effects
|
||||
=> LoadError address resume
|
||||
-> Evaluator address value effects resume
|
||||
throwLoadError err = throwResumable $ BaseError (ErrorContext lowerBound lowerBound) err
|
||||
throwLoadError err = throwResumable $ BaseError lowerBound err
|
||||
|
||||
|
||||
-- | An error thrown when we can't resolve a module from a qualified name.
|
||||
|
Loading…
Reference in New Issue
Block a user