summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/languagerepresentation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/languagerepresentation.py b/python/languagerepresentation.py
index 17dd2b9e..fccc7aa5 100644
--- a/python/languagerepresentation.py
+++ b/python/languagerepresentation.py
@@ -618,7 +618,7 @@ class LanguageRepresentationFunction:
for i in range(0, count.value):
addr = lines[i].addr
if lines[i].instrIndex != 0xffffffffffffffff:
- il_instr = instr.function[lines[i].instrIndex] # type: ignore
+ il_instr = block.function[lines[i].instrIndex]
else:
il_instr = None
color = highlight.HighlightColor._from_core_struct(lines[i].highlight)