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 201023 - Two incompatible declarators successively
Summary: Two incompatible declarators successively
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 21:39 UTC by yuriy_lalym
Modified: 2011-08-17 07:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuriy_lalym 2011-08-16 21:39:05 UTC
void double d = 0.0;
int double s = 0.0;

There are no problems.
Comment 1 yuriy_lalym 2011-08-16 21:43:38 UTC
double s = 0.0 int;

for (int i; i<20; i++) {
} int

As look correctly.
Comment 2 yuriy_lalym 2011-08-16 21:52:06 UTC
(In reply to comment #1)
> double s = 0.0 int;
> 
> for (int i; i<20; i++) {
> } int
> 
> As look correctly.

Not absolutely precisely. In this case the error is fixed in the end of function, as "unxpected token: }". But if I don't see the function end in the editor to me it feeblly will help.
Comment 3 yuriy_lalym 2011-08-16 22:01:20 UTC
double s = 0.0 int;

There are no problems.
Comment 4 Alexander Simon 2011-08-17 07:23:53 UTC
Try to compile you code and compiler finds error.
IDE parser does not have to find all compile errors (it is compile responsibility).
So it is RFE with low priority.