1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00

Actually do need to envUnion here

This commit is contained in:
Timothy Clem 2018-03-07 11:34:35 -08:00
parent 524116baf5
commit 2aaa2096ef

View File

@ -144,7 +144,7 @@ instance Evaluatable Program where
eval' (x:xs) = do
_ <- subtermValue x
env <- getGlobalEnv
localEnv (const env) (eval' xs)
localEnv (envUnion env) (eval' xs)
-- | An accessibility modifier, e.g. private, public, protected, etc.
newtype AccessibilityModifier a = AccessibilityModifier ByteString