mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 511606 - ClassCastException: CPPTypedefSpecialization cannot be cast
to IArrayType Change-Id: Iac14f1a84323e2a0fee01cb23fb1ce33ee27757c
This commit is contained in:
parent
5a4e821cfb
commit
66c965df2e
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ public final class ExecDeclarator implements ICPPExecution {
|
|||
} else if (isArrayType(nestedType) && !isCStringType(nestedType)) {
|
||||
if (computedInitializerEval instanceof EvalInitList) {
|
||||
IValue value = CompositeValue.create((EvalInitList) computedInitializerEval,
|
||||
(IArrayType) type, context.getPoint());
|
||||
(IArrayType) nestedType, context.getPoint());
|
||||
return new EvalFixed(type, computedInitializerEval.getValueCategory(context.getPoint()), value);
|
||||
} else {
|
||||
// TODO(sprigogin): Should something else be done here?
|
||||
|
|
Loading…
Add table
Reference in a new issue