Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 479068 - [search][refs] Some reference results are not being tagged with a confidence
Summary: [search][refs] Some reference results are not being tagged with a confidence
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: JS Tools (show other bugs)
Version: 10.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 10.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 471947
  Show dependency tree
 
Reported: 2015-10-05 14:56 EDT by Michael Rennie CLA
Modified: 2015-10-05 16:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-10-05 14:56:48 EDT
Some search results for all references are not being tagged with a confidence level, but should be.

Debugging it a bit, and it seems that any match that Tern could not find type information for, which then falls into our static checker was passing right through (if it was a node we did not care about).

We should add a default case to the node list to tag the match with 0% if it passed all the other checks to tag literals, comments, etc, etc.