https://issues.dlang.org/show_bug.cgi?id=953
Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |WORKSFORME --- Comment #8 from Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> --- (In reply to Matti Niemenmaa from comment #0) > int foo[2], bar[2]; > > The above fails with the error message "multiple declarations must have the > same type, not int[2] and int[2]" which makes no sense. int[2] is the same > type as int[2]. Fixed by https://github.com/dlang/dmd/pull/4021. Now it prints: test.d(1): Deprecation: instead of C-style syntax, use D-style syntax 'int[2] foo' test.d(1): Deprecation: instead of C-style syntax, use D-style syntax 'int[2] bar' --