Skip to content

Instantly share code, notes, and snippets.

@milesrout
Created July 27, 2020 04:00
Show Gist options
  • Save milesrout/aa6f8f807e622b55c30e3a9151e7d8b2 to your computer and use it in GitHub Desktop.
Save milesrout/aa6f8f807e622b55c30e3a9151e7d8b2 to your computer and use it in GitHub Desktop.
File "./beetle.py", line 157, in process_phases
return pipeline.execute()
File "./beetle.py", line 238, in execute
result = getattr(self, phase.lower())(result)
File "./beetle.py", line 259, in imports
ast = self.import_handler.process(ast, **kwds)
File "/home/miles/programming/beetle/importer.py", line 52, in process
return self.expand(ast)
File "/home/miles/programming/beetle/importer.py", line 74, in imexpand_ImportStatement
modules.append(self.handler.load_module(name.name, ast.pos))
File "/home/miles/programming/beetle/importer.py", line 44, in load_module
ast = pipeline.execute()
File "./beetle.py", line 238, in execute
result = getattr(self, phase.lower())(result)
File "./beetle.py", line 251, in parse
ast = parser.any_input(tokens, **kwds)
File "/home/miles/programming/beetle/parser.py", line 1340, in any_input
return production()
File "/home/miles/programming/beetle/parser.py", line 197, in file_input
yield self.stmt()
File "/home/miles/programming/beetle/parser.py", line 219, in stmt
return self.simple_stmt()
File "/home/miles/programming/beetle/parser.py", line 224, in simple_stmt
yield self.small_stmt()
File "/home/miles/programming/beetle/parser.py", line 268, in small_stmt
return self.type_defn(pos)
File "/home/miles/programming/beetle/parser.py", line 481, in type_defn
expr = self.type_expr()
File "/home/miles/programming/beetle/parser.py", line 415, in type_expr
position.Positions([expr.pos for expr in exprs]).merge_weak())
File "/home/miles/programming/beetle/position.py", line 184, in merge_weak
raise NotImplementedError
File "./beetle.py", line 157, in process_phases
return pipeline.execute()
File "./beetle.py", line 238, in execute
result = getattr(self, phase.lower())(result)
File "./beetle.py", line 259, in imports
ast = self.import_handler.process(ast, **kwds)
File "/home/miles/programming/beetle/importer.py", line 52, in process
return self.expand(ast)
File "/home/miles/programming/beetle/utils.py", line 386, in overloaded
r = do_overload()
File "/home/miles/programming/beetle/utils.py", line 378, in do_overload
return v(self, x, *args, **kwds)
File "/home/miles/programming/beetle/importer.py", line 74, in imexpand_ImportStatement
modules.append(self.handler.load_module(name.name, ast.pos))
File "/home/miles/programming/beetle/importer.py", line 44, in load_module
ast = pipeline.execute()
File "./beetle.py", line 238, in execute
result = getattr(self, phase.lower())(result)
File "./beetle.py", line 251, in parse
ast = parser.any_input(tokens, **kwds)
File "/home/miles/programming/beetle/parser.py", line 1340, in any_input
return production()
File "/home/miles/programming/beetle/utils.py", line 327, in inner
return f(g(*args, **kwds))
File "/home/miles/programming/beetle/utils.py", line 327, in inner
return f(g(*args, **kwds))
File "/home/miles/programming/beetle/parser.py", line 197, in file_input
yield self.stmt()
File "/home/miles/programming/beetle/parser.py", line 219, in stmt
return self.simple_stmt()
File "/home/miles/programming/beetle/utils.py", line 327, in inner
return f(g(*args, **kwds))
File "/home/miles/programming/beetle/utils.py", line 327, in inner
return f(g(*args, **kwds))
File "/home/miles/programming/beetle/parser.py", line 224, in simple_stmt
yield self.small_stmt()
File "/home/miles/programming/beetle/parser.py", line 268, in small_stmt
return self.type_defn(pos)
File "/home/miles/programming/beetle/parser.py", line 481, in type_defn
expr = self.type_expr()
File "/home/miles/programming/beetle/parser.py", line 415, in type_expr
position.Positions([expr.pos for expr in exprs]).merge_weak())
File "/home/miles/programming/beetle/position.py", line 184, in merge_weak
raise NotImplementedError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment