| Summary: | Can't assign values to multidimensional arrays | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Joseph Vincens <jvincens> | ||||||||
| Component: | EDT | Assignee: | Yun Feng Ma <mayunf> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P1 | CC: | greer, hjiyong, jqian | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Joseph Vincens
Created attachment 205863 [details]
testcase
Ji Yong, Check with Jeff on whether Java gen properly supports multi-dimensional arrays and if so, ask for which template(s) are involved. Created attachment 206379 [details]
Patch
Here is a patch.
Hi Yunfeng,
This patch cannot pass this test case (the same as 362507)
myNames string[] =["Carolina", "State", "Duke"];
element string = "Meredith";
newList string[];
function start()
newList = myNames :: element;
end
Please review.
(In reply to comment #3)
> Created attachment 206379 [details]
> Patch
>
> Here is a patch.
Created attachment 206387 [details]
Patch
Another patch.
Fixed, the root cause is that the multidimensional arrays are not initialized. Thanks. verified |