You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
I changed the name of a package and missed a reference to the old name in the code. When I tried to compile the file, I got the following compiler crash:
$ quark --python ~/quark-examples/python examples/list.q
Traceback (most recent call last):
File "/Users/janicekarin/virtualenv/bin/quark", line 9, in <module>
load_entry_point('datawire-quark==0.1.0', 'console_scripts', 'quark')()
File "/Users/janicekarin/quark/quark/compiler.py", line 566, in main
exit(_main(docopt(main.__doc__)))
File "/Users/janicekarin/quark/quark/compiler.py", line 542, in _main
c.compile()
File "/Users/janicekarin/quark/quark/compiler.py", line 497, in compile
self.root.traverse(use)
File "/Users/janicekarin/quark/quark/ast.py", line 93, in traverse
c.traverse(visitor, *args, **kwargs)
File "/Users/janicekarin/quark/quark/ast.py", line 93, in traverse
c.traverse(visitor, *args, **kwargs)
File "/Users/janicekarin/quark/quark/ast.py", line 93, in traverse
c.traverse(visitor, *args, **kwargs)
File "/Users/janicekarin/quark/quark/ast.py", line 93, in traverse
c.traverse(visitor, *args, **kwargs)
File "/Users/janicekarin/quark/quark/ast.py", line 93, in traverse
c.traverse(visitor, *args, **kwargs)
File "/Users/janicekarin/quark/quark/ast.py", line 93, in traverse
c.traverse(visitor, *args, **kwargs)
File "/Users/janicekarin/quark/quark/ast.py", line 94, in traverse
leave(self, *args, **kwargs)
File "/Users/janicekarin/quark/quark/compiler.py", line 233, in leave_Type
if n.text in type.env:
AttributeError: 'NoneType' object has no attribute 'env'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I changed the name of a package and missed a reference to the old name in the code. When I tried to compile the file, I got the following compiler crash:
The text was updated successfully, but these errors were encountered: