mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Need to include global env in Interface
This commit is contained in:
parent
ca57af6132
commit
c4a98d65de
@ -145,7 +145,7 @@ instance ( Ord (LocationFor (Value l t))
|
||||
=> Evaluatable es t (Value l t) Program where
|
||||
eval (Program xs) = eval' xs
|
||||
where
|
||||
interface val = inj . Value.Interface val <$> ask @(EnvironmentFor (Value l t))
|
||||
interface val = inj . Value.Interface val <$> get @(EnvironmentFor (Value l t))
|
||||
|
||||
eval' [] = interface unit
|
||||
eval' [x] = subtermValue x >>= interface
|
||||
|
Loading…
Reference in New Issue
Block a user