| Summary: | [cross file lint] undeclared function errors go away and come back when different file is selected | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Steve Northover <snorthov> |
| Component: | JS Tools | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 12.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 487279 | ||
| Bug Blocks: | |||
|
Description
Steve Northover
If moving between files causes problems, then this is just another consequence of Bug 487279. However, I think there is something else going on here because modifying the file at all causes the errors to appear. Tern can collect more type information as you run requests, so editing the file, moving between files, running ope declaration, etc. all can give Tern more information to make smarter decisions. When the page first loads, Tern thinks that addEventListener is coming from the browser index. After editing the page, Tern can't find a definition. Possibly an issue in Tern. The behaviour has been somewhat improved by removing guessed typed from cross file linting. The error will be shown when the file is first opened and does not change by opening the other file. However, if you use open impl to get to inputManager the error still disappears. Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html |