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 251621 - Invalid recognition of function with reversed return type and virtual keyword order
Summary: Invalid recognition of function with reversed return type and virtual keyword...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 11:19 UTC by mariusz_m
Modified: 2015-05-15 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Hint (2.43 KB, image/png)
2015-04-03 11:19 UTC, mariusz_m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariusz_m 2015-04-03 11:19:47 UTC
Created attachment 153017 [details]
Hint

NB 8.0.2 can't recognize member function definition like this:

class SomeClass
{
   size_t virtual get_extra_memory(image_header_t const *src);
};

In my current work I often see that peoples used to write code like above, instead of

class SomeClass
{
    virtual size_t get_extra_memory(image_header_t const *src);
};

Of course booth forms are correct.
Comment 1 petrk 2015-05-14 13:22:20 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/43dc75bc28d0
Comment 2 Quality Engineering 2015-05-15 02:40:12 UTC
Integrated into 'main-silver', will be available in build *201505150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/43dc75bc28d0
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #251621 - Invalid recognition of function with reversed return type and virtual keyword order