February 03, 2003 bug report: internal error with invalid code | ||||
---|---|---|---|---|
| ||||
Hello, compiling the code below with DMD 0.51 prints "Internal error: ..\ztc\cod4.c 348" instead of "cannot implicitly convert char[] to char[47]". void func() { char[47] fixedArray; fixedArray="some String"; } Furtunately the correct code works fine: void func() { char[47] fixedArray; fixedArray[]="some String"; } Farmer |
Copyright © 1999-2021 by the D Language Foundation