Commit cde4a371 authored by Stefan Behnel's avatar Stefan Behnel

fix compiler crash on uncachable builtins

parent 0b03efae
...@@ -945,6 +945,7 @@ class ModuleScope(Scope): ...@@ -945,6 +945,7 @@ class ModuleScope(Scope):
self.undeclared_cached_builtins.append(entry) self.undeclared_cached_builtins.append(entry)
else: else:
entry.is_builtin = 1 entry.is_builtin = 1
entry.name = name
return entry return entry
def find_module(self, module_name, pos): def find_module(self, module_name, pos):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment