| Summary: | [validation] Type mismatch with anonymous types | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Klaus Reimer <k> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
This problem is unreproducible in WTP 3.5. |
Build Identifier: I20110613-1736 The second line in this constructor function generates the warning "cannot convert from ___anonymous58_59 to ___anonymous39_40": function FooBar() { this.foo = {}; this.foo = {}; } I wonder why the type inference thingy generates a dynamic type for each assignment. In my opinion the type should simply be "Object". Reproducible: Always