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.
Product Version = NetBeans IDE 8.1 (Build 201510222201) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0_66 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b18 Reproducibility: Happens every time STEPS: * In a C++ class, add a method declaration 'void Foo( int x, int data[] );' to the header * Switch to the cpp file * Hit control-space and select the Foo method to generate the body * Foo is generated ACTUAL: The generated method signature is wrong (it's in Java/C# notation): void Foo( int x, int[] data ) which is a syntax error in C++, EXPECTED: The correct signature - void Foo( int x, int data[] )
Created attachment 158544 [details] IDE log
fixed, change set: http://hg.netbeans.org/cnd-main/rev/768b0588aa5c
Integrated into 'main-silver', will be available in build *201603290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/768b0588aa5c User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #258040 Auto-generation of C++ method bodies that have array parameters fails
verified in builds on enum server
Verified in NetBeans 8.1 with latest updates.