D - [BUG:] Compiler crashes whenever a type is referenced that is not defined.
- Matthew (0/0) Mar 20 2004
- J C Calvarese (12/12) Mar 21 2004 Can you provide an example?
- Matthew (4/16) Mar 23 2004 Maybe it's only in templates. I guess I could do an example, but I'm laz...
- J C Calvarese (11/18) Mar 23 2004 With your initial post, I though either you forgot to include a message
Can you provide an example? Here's what I tried: void main() { sometype myvar; /* line3 */ if(sometype) printf("doesn't compile, but compiler doesn't crash"); } All I see is the expected error message: crash2.d(3): identifier 'sometype' is not defined -- Justin http://jcc_7.tripod.com/d/
Mar 21 2004
Maybe it's only in templates. I guess I could do an example, but I'm lazy. :( What a citizen!! "J C Calvarese" <jcc7 cox.net> wrote in message news:c3kifs$230d$1 digitaldaemon.com...Can you provide an example? Here's what I tried: void main() { sometype myvar; /* line3 */ if(sometype) printf("doesn't compile, but compiler doesn't crash"); } All I see is the expected error message: crash2.d(3): identifier 'sometype' is not defined -- Justin http://jcc_7.tripod.com/d/
Mar 23 2004
Matthew wrote:Maybe it's only in templates. I guess I could do an example, but I'm lazy. :( What a citizen!!With your initial post, I though either you forgot to include a message body or the problem was so widespread that no other information was needed. I'm sure Walter is more intuitive than me, but I've tried messing up several template examples and the compiler always tells me "identifier 'whatever' is not defined". I hope the bug gets fixed."J C Calvarese" <jcc7 cox.net> wrote in message news:c3kifs$230d$1 digitaldaemon.com...[...] -- Justin http://jcc_7.tripod.com/d/Can you provide an example?
Mar 23 2004