Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 490202

Summary: Cross file linting shows an error but you are able to go to declaration
Product: [ECD] Orion Reporter: Steve Northover <snorthov>
Component: JS ToolsAssignee: Curtis Windatt <curtis.windatt.public>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: Carolyn_MacLeod, Michael_Rennie
Version: 12.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 487279    
Bug Blocks:    

Description Steve Northover CLA 2016-03-22 12:52:57 EDT
1) get org.eclipse.orion.client
2) org.eclipse.orion.client->web>orion->cFClient.js
3) line 105: toURL() shows an error
3.5) Tools->Open Declaration fails (it seems correctly)
4) Tools->References->Project
5) Close the references window
6) Tools->Open Declaration
7) BUG: it works now
Comment 1 Curtis Windatt CLA 2016-03-22 13:05:27 EDT
Tern must be gathering more type information while running the all refs call.  Hanging this off of 487279.
Comment 2 Michael Rennie CLA 2016-03-22 15:43:53 EDT
This is likely one of three things:

1. while building the type graph for cfClient, Tern exceeds it dependency budget and starts filling in type information with 'any', so it finds no decl initially

2. when you do all refs - your are force-feeding a tonne more type information into Tern, so it then fills in the correct types, so it then can find a decl

3. after all refs it finds a type it considers a match for the type, but it is not actually reachable from cfClient, so it finds a decl.
Comment 3 Michael Rennie CLA 2017-01-10 15:43:03 EST
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