| Summary: | emp cannot be resolved to a variable | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | pf yu <pfyu> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | jeffdouglas, jqian, pfyu, svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Verified in build 201110030901, it works fine. |
Build Identifier: 201109292101 The EGL code: emp Employee{EmpNo{department = "sales", value = 10}, LastName = "Smith"}; results in the wrong generated Java code: { emp.EmpNo.department = "sales"; emp.EmpNo.value = (int)((short) 10); } Employee emp = new Employee(); emp.LastName = "Smith"; Reproducible: Always Steps to Reproduce: 1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs. 2. Add java generator to the project. 3. Clean the whole workspace. 4. The error exists in: fvt.xml.DCR43684Lib.java