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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|pragma(msg) with a forward  |Regression(1.051): forward
                   |referenced enum member via  |referenced enum member via
                   |an alias, templates,        |an alias, templates, and
                   |tuples, and CTFE            |is()


--- Comment #7 from Don <clugd...@yahoo.com.au> 2010-03-11 08:12:01 PST ---
Reduced test case shows it has nothing to do with tuples or CTFE. Can probably
be simplified further.
This worked in 1.050, but failed in 1.051.
================
enum ArrayFlags {
    None =0,
}

class red(int rank) {
      uint flags = Flags.None;
      alias ArrayFlags Flags;
}

void violet(Y) (red!(2) b) {
    static assert (!is(red!(7) : red!(3)));
}

void main(){
    violet!(int)(null);
}

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

Reply via email to