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 250243 - Literal typename is not supported in friend declaration.
Summary: Literal typename is not supported in friend declaration.
Status: VERIFIED FIXED
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-02-05 18:18 UTC by petrk
Modified: 2015-02-25 10:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description petrk 2015-02-05 18:18:26 UTC
// Code below causes AstRendererException in console

namespace XXX {
    struct BBB;
}

class AAA {
    int a;
    friend typename XXX::BBB; // typename is not supported here
};
Comment 1 Quality Engineering 2015-02-06 04:05:47 UTC
Integrated into 'main-silver', will be available in build *201502060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ddc0852d0a61
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #250243 - Literal typename is not supported in friend declaration
Comment 2 petrk 2015-02-06 12:43:07 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/ddc0852d0a61
Comment 3 soldatov 2015-02-24 11:17:10 UTC
verified in trunk

>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201502240532) (#d6aa48dbbbfb)
Comment 4 soldatov 2015-02-25 10:24:57 UTC
verified in NetBeans IDE 8.0.2 (Build 201502242207)