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.
int foo(int ((*array)[2])[2] = new int[2][2][2] {{{0, 1}, {0, 1}},{{0, 1}, {0, 1}},{{0, 1}, {0, 1}}}); void boo() { foo(new int[2][2][2] {{{2, 3}, {2, 3}},{{2, 3}, {2, 3}},{{2, 3}, {2, 3}}}); // Unexpected token here }
Fixed in http://hg.netbeans.org/cnd-main/rev/fb54800eda8d
Integrated into 'main-silver', will be available in build *201408010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fb54800eda8d User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #246170 - Unexpected token in case of c++11 array initialization
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/a0bf79349279 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #246170 - Unexpected token in case of c++11 array initialization (transplanted from fb54800eda8d66f2742a291a0c48397394af29ea)
Verified in NetBeans 8.0.1 patch1 ------------------------------------------------------------------------------- >Log Session: Thursday, September 18, 2014 2:47:00 PM MSK >System Info: Product Version = NetBeans IDE 8.0.1 (Build 201409180010) (#ef6e99d0c0db) Operating System = SunOS version 5.11 running on amd64 Java; VM; Vendor = 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_05-b13 Java Home = /usr/jdk/instances/jdk1.8.0/jre System Locale; Encoding = en (nb); UTF-8