chore(bin/lean-gdb): fix mismatched type?
This commit is contained in:
parent
b34eac6f1d
commit
3dd7a69068
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class LeanExprPrinter:
|
|||
|
||||
|
||||
def __init__(self, val):
|
||||
self.kind = val['m_ptr']['m_kind']
|
||||
self.kind = int(val['m_ptr']['m_kind'])
|
||||
subtype = gdb.lookup_type(LeanExprPrinter.expr_kinds[self.kind][0])
|
||||
self.val = val['m_ptr'].cast(subtype.pointer()).dereference()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue