| Summary: | Inference mixin support broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Ian Tewksbury <itewksbu> | ||||
| Component: | General | Assignee: | Ian Tewksbury <itewksbu> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cmjaun | ||||
| Version: | 3.2.3 | Flags: | cmjaun:
review+
thatnitind: review+ |
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | WI44838 | ||||||
| Attachments: |
|
||||||
|
Description
Ian Tewksbury
Created attachment 184181 [details]
Fix Patch with JUnits
Suggested fix with updated JUnits.
For those looking for more detail:
InferEngine was updated to deal with the following type definition:
foo = function() {
this.cool = 42;
}
InferredType#addMixin was documented and the parameters clarified
CompletionEngine was updated not to access mixins directly because now they should be mixed into the inferred type at binding time.
Updated SourceElementParser to notify on anonymous inferred types even if they are not ObjectLiterals.
Updated ClassScope#connectMixins to do the mixing of inferred types correctly
Updated SourceTypeBinding to not access mixins directly because the mixing in has already been done.
There are also a couple changes in InferEngine to be sure I didn't break Chris's changes for Bug 324874. Thanks for the review guys! Committed to HEAD. (In reply to comment #5) > Committed to HEAD. What about 3.2.3? Checked into 3.2.3 and HEAD. |