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 248566 - "Variable f: <null>" in tooltip
Summary: "Variable f: <null>" in tooltip
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-11 12:02 UTC by soldatov
Modified: 2016-07-17 15:26 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 soldatov 2014-11-11 12:02:05 UTC
C++11 code:
#include <functional>
#include <iostream>

int main() {
    auto f = [](int x) -> int {return x * x;};
    std::cout << f(3) << std::endl;
}

Press Ctrl and move cursor on f in "f(3)" line
==> I see such tooltip:
Variable f:
<null>
Comment 1 petrk 2016-07-17 15:26:22 UTC
It was fixed some time ago - now it shows 'lambda' in tooltip. It is not so useful though and can be improved in future