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 267275 - Не корректное сообщение об ошибке "Невозможно разрешить идентификатор"
Summary: Не корректное сообщение об ошибке "Невозможно разрешить идентификатор"
Status: RESOLVED FIXED
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: 2016-07-24 07:50 UTC by ExIngus
Modified: 2016-09-01 20:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Журнал среды IDE (130.97 KB, text/plain)
2016-07-24 07:50 UTC, ExIngus
Details
Проект со ошибкой (24.50 KB, application/zip)
2016-07-24 07:51 UTC, ExIngus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ExIngus 2016-07-24 07:50:00 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_92
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.92-b14

Воспроизводимость: Происходит всегда

Проект C++14, GCC

Не корректное сообщение об ошибке, в коде:
 "Невозможно разрешить идентификатор at."
Синтетический пример:
using namespace std;
const  char test(void * d) {
	 char c = ((string*) d)->at(0);
	 char c2 = d ? ((string*) d)->at(0) : '\0';
	if (true) {
		return d ? (((string*) d)->at(0)) : '\0';
	} else {
		return d ? ((string*) d)->at(0) : '\0'; <-- "Невозможно разрешить идентификатор at."
	}
}
Comment 1 ExIngus 2016-07-24 07:50:11 UTC
Created attachment 161400 [details]
Журнал среды IDE
Comment 2 ExIngus 2016-07-24 07:51:24 UTC
Created attachment 161401 [details]
Проект со ошибкой
Comment 3 petrk 2016-09-01 20:05:26 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/ca7d54cbe2ab