mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
do not use the type argument in getVarialbleObjectAsArray()
This commit is contained in:
parent
9c4762f0b7
commit
e3c7f992fb
1 changed files with 7 additions and 3 deletions
|
@ -303,9 +303,13 @@ public class VariableManager extends SessionObject implements ICDIVariableManage
|
|||
if (obj != null) {
|
||||
// Check if the type is valid.
|
||||
checkType(type);
|
||||
VariableObject vo = new VariableObject(obj.getTarget(),
|
||||
obj.getQualifiedName(), obj.getStackFrame(), obj.getPosition(), obj.getStackDepth());
|
||||
vo.setCastingType(type);
|
||||
VariableObject vo =
|
||||
new VariableObject(
|
||||
obj.getTarget(),
|
||||
obj.getQualifiedName(),
|
||||
obj.getStackFrame(),
|
||||
obj.getPosition(),
|
||||
obj.getStackDepth());
|
||||
vo.setCastingArrayStart(start);
|
||||
vo.setCastingArrayEnd(length);
|
||||
return vo;
|
||||
|
|
Loading…
Add table
Reference in a new issue