| Summary: | JavaScript outline does not show class methods correctly (improper handling of MethodDefinition nodes) | ||
|---|---|---|---|
| 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: | unspecified | ||
| Target Milestone: | 13.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
Consider the following snippet: export default class MyClass { constructor() { } func() { return function out() { }; } func2() { return {}; } } If you open the Source outline, you will see a function entry under 'constructor', 'fund' and 'func2'. This is not correct since those entries are themselves the function s (MethodDefinition nodes to be precise).