Advertisement
Guest User

Untitled

a guest
Nov 30th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. [translation:ERROR] NoSuchAttrError:
  2.  
  3. the attribute 'integer' goes here to <ClassDef 'src.ast.Program'>, but it is forbidden here
  4.  
  5.  
  6. v8 = getattr(condition_value_0, ('integer'))
  7.  
  8. In <FunctionGraph of (src.ast:679)While.evaluate at 0x7f653ff57850>:
  9. Happened at file /home/abrown/Code/tiger-rpython/src/ast.py line 683
  10.  
  11. ==> while condition_value.integer != 0:
  12.  
  13. Known variable annotations:
  14. condition_value_0 = SomeInstance(can_be_None=True, classdef=src.ast.Program)
  15. v8 = SomeInteger(knowntype=int, nonneg=False, unsigned=False)
  16.  
  17. Processing block:
  18. block@51[self_0...] is a <class 'rpython.flowspace.flowcontext.SpamBlock'>
  19. in (src.ast:679)While.evaluate
  20. containing the following operations:
  21. v8 = getattr(condition_value_0, ('integer'))
  22. v9 = ne(v8, (0))
  23. v10 = bool(v9)
  24. --end--
  25. [translation] start debugger...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement