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.
struct AAA { int field; }; int foo() { AAA *pointer = 0; // field is unresolved because of the most inner parens return (*((pointer)++)).field; }
Fixed at enum: 303799:250eee268917
Thank you for re-classifying and creating a new report. It appears that you may have a fix for this already. I am not sure how to find the fix from this reference; "Fixed at enum: 303799:250eee268917" Can you please provide link to a patch. Or advise how to locate from that reference. Thanks,
Hi! You are right, fix is available, but unfortunately, according to the development process, it is now in the private repository, so I cannot provide you the link to the patch. It is not included into nightly build as well. Later (quite soon) it will be transplanted to the public cnd-main. Thanks, Petr
Created attachment 157111 [details] fix I've attached the fix here in case if you want to apply it manually :)
Integrated into 'main-silver', will be available in build *201511100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/eac6ef832545 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #256296 - Additional parens in expression break parser (transplanted from 250eee26891750262d9b3a5e7617fb188c08a3dc)
Verified in NetBeans 8.1patch1