November 26, 2006
This code crashes the compiler (Visual Studio Just-In-Time
Debugger: An unhandled win32 exception occured in dmd.exe [1848]...):

struct Foo(T) {}

int main(char[][] args) {
	if ((Foo!(char)).init == (Foo!(char)).init) return 1;
	return 0;
}
November 26, 2006
Boris Kolar wrote:
> This code crashes the compiler (Visual Studio Just-In-Time
> Debugger: An unhandled win32 exception occured in dmd.exe [1848]...):
> 
> struct Foo(T) {}
> 
> int main(char[][] args) {
> 	if ((Foo!(char)).init == (Foo!(char)).init) return 1;
> 	return 0;
> }

Bug reports belong on digitalmars.D.bugs, or even better, on Bugzilla.

http://d.puremagic.com/issues/

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on the 'group where everyone may benefit.