Thread overview | |||||
---|---|---|---|---|---|
|
March 01, 2012 [Issue 7615] New: Error aliasing an enum member through an alias of a type inside a struct | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7615 Summary: Error aliasing an enum member through an alias of a type inside a struct Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: siegelords_abode@yahoo.com --- Comment #0 from siegelords_abode@yahoo.com 2012-02-29 22:44:23 PST --- Works in D1 (1.073) but not in D2 (2.058): struct A { enum { E } } alias A A2; alias A2.E E2; // Fine struct B { alias A.E E1; // Fine alias A A2; alias A2.E E2; // Error: alias test.B.E2 cannot alias an expression 0 } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 20, 2012 [Issue 7615] Error aliasing an enum member through an alias of a type inside a struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to siegelords_abode@yahoo.com | http://d.puremagic.com/issues/show_bug.cgi?id=7615 SomeDude <lovelydear@mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear@mailmetrash.com --- Comment #1 from SomeDude <lovelydear@mailmetrash.com> 2012-04-20 02:42:27 PDT --- This compiles on dmd 2.059 Win32 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 22, 2012 [Issue 7615] Error aliasing an enum member through an alias of a type inside a struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to siegelords_abode@yahoo.com | http://d.puremagic.com/issues/show_bug.cgi?id=7615 siegelords_abode@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from siegelords_abode@yahoo.com 2012-04-22 14:00:57 PDT --- Yes, works for me now too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation