Commits

Maciej Fijalkowski committed 783713a

"fix"

Comments (0)

Files changed (1)

_jitviewer/display.py

                     last_lineno = no
             else:
                 no = last_lineno
-            self.lines[no - self.firstlineno].chunks.append(chunk)
-    
+            try:
+                self.lines[no - self.firstlineno].chunks.append(chunk)
+            except IndexError:
+                self.lines[-1].chunks.append(chunk) # too bad, just stash it there
+