1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00

Fix an ambiguous variable.

This commit is contained in:
Rob Rix 2019-10-28 10:56:38 -04:00
parent bb6d3e027f
commit f837076616
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -160,7 +160,7 @@ concreteAnalysis = Analysis{..}
addr ... n = do addr ... n = do
val <- deref addr val <- deref addr
heap <- get heap <- get
pure (val >>= lookupConcrete heap n) pure (val >>= lookupConcrete (heap :: Heap term name) n)
lookupConcrete :: (IsString name, Ord name) => Heap term name -> name -> Concrete term name -> Maybe Precise lookupConcrete :: (IsString name, Ord name) => Heap term name -> name -> Concrete term name -> Maybe Precise