This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271258 - ClankFileInfoQuerySupport works incorrectly for Quote getDiscountFor(customerName)
Summary: ClankFileInfoQuerySupport works incorrectly for Quote getDiscountFor(customer...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: Dev
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-10 14:23 UTC by Maria Tishkova
Modified: 2017-08-11 18:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maria Tishkova 2017-08-10 14:23:11 UTC
Steps to re-produce
-J-Dapt.use.clank=true

1. Open Quote  sample project
2. Step Into project
3. select the text  getDiscountFor(customerName)  in quote.cc:133
4. In gdb log file I can see getDiscountFor(customerName)int as a result of expansion (return ClankFileInfoQuerySupport.expand(fileImpl, code, handler, base, offset);)

when old preprocessor used -> tooltip occurred with the -1 value.

The other part of this bug is to show <OUT_OF_SCOPE> for tooltips when value is not defined yet