[Issue 3996] ICE Regression(2.041): Passing struct as AA template parameter (Algebraic with struct)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 9 11:57:23 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3996


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |clugdbug at yahoo.com.au
           Platform|x86_64                      |All
            Summary|Algebraic with struct       |ICE Regression(2.041):
                   |crashes compiler            |Passing struct as AA
                   |                            |template parameter
                   |                            |(Algebraic with struct)
         OS/Version|Mac OS X                    |All


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-06-09 11:57:21 PDT ---
Reduced test case shows it's a regression from AAs becoming a library type.

template ICE3996(T : V[K], K, V) {}

struct Bug3996 {}

static assert(!is( ICE3996!(Bug3996) ));

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list