mirror of
https://github.com/github/semantic.git
synced 2025-01-04 05:27:08 +03:00
Remove extraneous do
This commit is contained in:
parent
f2e16aeb19
commit
549adf887c
@ -151,7 +151,7 @@ variableDefinition :: ( Member (Env (Hole (Located address))) effects
|
||||
variableDefinition var name = do
|
||||
context <- ask
|
||||
case context of
|
||||
Just c -> do appendGraph $ vertex c `connect` vertex var
|
||||
Just c -> appendGraph $ vertex c `connect` vertex var
|
||||
_ -> pure ()
|
||||
definedInModuleVertex <- maybe lowerBound (maybe lowerBound (vertex . moduleVertex . addressModule) . toMaybe) <$> TermEvaluator (lookupEnv name)
|
||||
appendGraph $ vertex var `connect` definedInModuleVertex
|
||||
|
Loading…
Reference in New Issue
Block a user