mirror of
https://github.com/github/semantic.git
synced 2024-11-24 00:42:33 +03:00
remove fromJust
This commit is contained in:
parent
3c2a877821
commit
e436ace47c
@ -241,7 +241,7 @@ address :: ( AbstractValue address value effects
|
||||
=> ValueRef address value
|
||||
-> Evaluator address value effects address
|
||||
address (LvalLocal var) = variable var
|
||||
address (LvalMember obj prop) = evaluateInScopedEnv (deref obj) (fromJust <$> lookupEnv prop)
|
||||
address (LvalMember obj prop) = evaluateInScopedEnv (deref obj) (variable prop)
|
||||
address (Rval addr) = pure addr
|
||||
|
||||
subtermAddress :: ( AbstractValue address value effects
|
||||
|
Loading…
Reference in New Issue
Block a user