| Summary: | Fix implicit "this" for fields and functions | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Scott Greer <greer> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 352125 | ||
|
Description
Scott Greer
Reworked JS gen as follows * For fields, MemberNameTemplate looks to see if the field access was unqualified and if so, invokes genQualifier on that field. (That logic is left as it was -- it simply looks to see if the container is a type and if so it forwards the genQualifier on to the container.) * genQualifier was removed from the existing container classes and a new implementation was created on EGLClassTemplate. This has simple logic that takes a field or function and looks to see if its associated with this particular part; if so, then it emits "this.". Verified the changes by generating and executing the existing FVT testcases. Verified fix. |