D - bug: foreach, struct, enum...
- Carlos Santander B. (17/17) Sep 03 2003 This code:
This code:
enum E { m }
struct X {
char [] b;
E a;
}
void main() {
X [] x;
foreach (X w; x) {}
}
Produces "Internal error: ..\ztc\cod4.c 352". Interesting is that it only
happens if X.b is char[]. If it's int or float, it compiles fine.
-------------------------
Carlos Santander
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 2003-09-01
Sep 03 2003








"Carlos Santander B." <carlos8294 msn.com>