Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354543

Summary: Concat assignment of a record to an array produces BoxingExpression when it shouldn't
Product: z_Archived Reporter: Jeff Douglas <jeffdouglas>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jeff Douglas CLA 2011-08-11 15:24:16 EDT
I don't think that this logic should produce a boxing expression.

package acme.xxxx;

program tester {}

    function main()
        //append the test case summary to result root summary 
        resultSum ResultSummary;
        resultRootSum ResultSummaryRoot;
        resultRootSum.trSummary ::= resultSum;
    end
end

Record ResultSummary
    pkgName String {@XMLAttribute{}};    //package name
    name String{@XMLAttribute{}};        //test library part name
end
Record ResultSummaryRoot
    trSummary ResultSummary[]{};
end
Comment 1 Paul Harmon CLA 2011-10-24 12:48:20 EDT
This is no longer creating a boxing expression
Comment 2 Jeff Douglas CLA 2011-11-10 14:40:57 EST
Verified