mirror of
https://github.com/github/semantic.git
synced 2024-12-14 17:31:48 +03:00
Simplify the ValueRoots instance for closures.
This commit is contained in:
parent
e639c3ffc3
commit
8ff61d8299
@ -50,10 +50,8 @@ data Value term address
|
||||
deriving (Eq, Ord, Show, Generic, NFData)
|
||||
|
||||
|
||||
instance Ord address => ValueRoots address (Value term address) where
|
||||
valueRoots v
|
||||
| Closure _ _ _ _ _ _ _ <- v = undefined -- Env.addresses env
|
||||
| otherwise = mempty
|
||||
instance ValueRoots address (Value term address) where
|
||||
valueRoots _ = lowerBound
|
||||
|
||||
|
||||
instance ( FreeVariables term
|
||||
|
Loading…
Reference in New Issue
Block a user