forked from qt-creator/qt-creator
Debugger: fix manual list template arguments
'res' is not part of the function anymore, the result of the split is
directly written into self.type_template_arguments_cache since
67072d3f5b
Change-Id: Ib76b1f82a4f807e54fbb3cec96b317c36011bf51
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -717,7 +717,7 @@ class DumperBase():
|
|||||||
c = ord(item[0])
|
c = ord(item[0])
|
||||||
if c in (45, 46) or (c >= 48 and c < 58): # '-', '.' or digit.
|
if c in (45, 46) or (c >= 48 and c < 58): # '-', '.' or digit.
|
||||||
if '.' in item:
|
if '.' in item:
|
||||||
res.append(float(item))
|
self.type_template_arguments_cache[(typeid, idx)] = float(item)
|
||||||
else:
|
else:
|
||||||
if item.endswith('l'):
|
if item.endswith('l'):
|
||||||
item = item[:-1]
|
item = item[:-1]
|
||||||
|
Reference in New Issue
Block a user