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 252699 - Temporary object with C++11 uniform initialization breaks code completion
Summary: Temporary object with C++11 uniform initialization breaks code completion
Status: RESOLVED DUPLICATE of bug 247031
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-30 14:37 UTC by ivan_p
Modified: 2016-07-12 11:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot showing the bug (12.95 KB, image/png)
2015-05-30 14:37 UTC, ivan_p
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ivan_p 2015-05-30 14:37:21 UTC
Created attachment 153968 [details]
Screenshot showing the bug

When temporary object is created with C++11 uniform initialization syntax (using braces), invoking any method on it causes "Unable to resolve identifier" error.
Line 11 in the screenshot shows this.

Expected result - Line 12:
The same behavior as if I used parentheses - it should be treated as object of the appropriate type.

This bug is still present in nightly 201505290001.
Comment 1 petrk 2016-07-12 11:32:41 UTC

*** This bug has been marked as a duplicate of bug 247031 ***