| Summary: | one-line JSDoc comment does not produce proposals | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 6.0 | ||
| Target Milestone: | 7.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Consider the following scenario: Objects.mixin(Foo.prototype, /** @lends Foo.prototype */ {}); If you try to complete the @lends you get no proposals. The problem is in the fixPrefix function: rather than slicing out the new prefix to the end of the original prefix we incorrectly grabbed the rest of the line.