1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00

Add a Closure constructor to Abstract.Value.Concrete

This commit is contained in:
Rick Winfrey 2018-12-20 17:05:14 -08:00
parent c3ab029fb2
commit 98e83045fc

View File

@ -224,6 +224,7 @@ instance ( Member (Allocator address) sig
| Object address <- v = pure (Just address) | Object address <- v = pure (Just address)
| Class _ _ address <- v = pure (Just address) | Class _ _ address <- v = pure (Just address)
| Namespace _ address <- v = pure (Just address) | Namespace _ address <- v = pure (Just address)
| Closure _ _ _ _ _ _ _ address <- v = pure (Just address)
| otherwise = pure Nothing | otherwise = pure Nothing
asString v asString v