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.
$ quark compile hello.q
Traceback (most recent call last):
File "/Users/ark3/.virtualenvs/datawire/bin/quark", line 9, in <module>
load_entry_point('datawire-quark==0.1.0', 'console_scripts', 'quark')()
File "/Users/ark3/Dropbox/datawire/quark/quark/command.py", line 150, in call_main
exit(main(docopt(__doc__)))
File "/Users/ark3/Dropbox/datawire/quark/quark/command.py", line 116, in main
res = compiler._main(compiler_args)
File "/Users/ark3/Dropbox/datawire/quark/quark/compiler.py", line 542, in _main
c.compile()
File "/Users/ark3/Dropbox/datawire/quark/quark/compiler.py", line 515, in compile
self.emit(backend)
File "/Users/ark3/Dropbox/datawire/quark/quark/compiler.py", line 519, in emit
self.root.traverse(backend)
File "/Users/ark3/Dropbox/datawire/quark/quark/ast.py", line 94, in traverse
leave(self, *args, **kwargs)
File "/Users/ark3/Dropbox/datawire/quark/quark/java.py", line 94, in leave_Root
functions.append(f.match(self.dfnr))
File "/Users/ark3/Dropbox/datawire/quark/quark/ast.py", line 97, in match
return self.lookup(transform, "match")(self, *args, **kwargs)
File "/Users/ark3/Dropbox/datawire/quark/quark/java.py", line 238, in match_Function
body = " %s" % m.body.match(self.stmtr) if m.body else ";"
File "/Users/ark3/Dropbox/datawire/quark/quark/ast.py", line 97, in match
return self.lookup(transform, "match")(self, *args, **kwargs)
File "/Users/ark3/Dropbox/datawire/quark/quark/java.py", line 331, in match_Block
return "{%s}" % indent("\n".join([s.match(self) for s in b.statements]))
File "/Users/ark3/Dropbox/datawire/quark/quark/ast.py", line 97, in match
return self.lookup(transform, "match")(self, *args, **kwargs)
File "/Users/ark3/Dropbox/datawire/quark/quark/java.py", line 308, in match_ExprStmt
return "%s;" % stmt.expr.match(self.exprr)
File "/Users/ark3/Dropbox/datawire/quark/quark/ast.py", line 97, in match
return self.lookup(transform, "match")(self, *args, **kwargs)
File "/Users/ark3/Dropbox/datawire/quark/quark/java.py", line 357, in match_Call
return self.invoke(type, c.expr, [a.match(self) for a in c.args])
File "/Users/ark3/Dropbox/datawire/quark/quark/dispatch.py", line 52, in __call__
return method(self.object, *args, **kwargs)
File "/Users/ark3/Dropbox/datawire/quark/quark/java.py", line 449, in invoke
env[p.name.text] = args[idx]
IndexError: list index out of range
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.
yields
The text was updated successfully, but these errors were encountered: