| Summary: | removeAll after plus operation removes both arrays | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Verified in 20111103 build. |
Debug through the program below. The removeAll statement removes elements in newList and myNames. Should only be on newList. program removeAllPgm type BasicProgram{} myNames string[] =["Carolina", "State", "Duke"]; element string = "Meredith"; newList string[]; function main() newList = myNames + element; newList.removeAll(); / Wrong Removes elements in newList and myNames end end