Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -70,7 +70,7 @@ class MakeLet (object) : | ... | @@ -70,7 +70,7 @@ class MakeLet (object) : |
70 | def __init__ (self, globals) : | 70 | def __init__ (self, globals) : |
71 | self.globals = globals | 71 | self.globals = globals |
72 | def match (self, match, binding) : | 72 | def match (self, match, binding) : |
73 | - env = binding.dict() | 73 | + env = dict(binding) |
74 | env.update(iter(self.globals)) | 74 | env.update(iter(self.globals)) |
75 | exec("", env) | 75 | exec("", env) |
76 | old = set(env) | 76 | old = set(env) | ... | ... |
-
Please register or login to post a comment