|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.bugs - [Issue 3069] New: Result of concatenation of static arrays does not implicitly cast to void[]
http://d.puremagic.com/issues/show_bug.cgi?id=3069 Summary: Result of concatenation of static arrays does not implicitly cast to void[] Product: D Version: 1.045 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: minor Priority: P3 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: thecybershadow gmail.com === Testcase === void main() { ubyte id; void[] v = [id] ~ [id]; } === Compiler output === test.d(4): Error: cannot implicitly convert expression ([id,id]) of type ubyte[] to void[] === Testcase end === Adding [] after either [id] allows the code to compile. This is probably related to #3068, if it isn't actually the same bug... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Jun 15 2009
|