digitalmars.D.bugs - [Issue 10208] New: Module-level const/immutable variables with initialization value don't support UDAs
- d-bugmail puremagic.com (51/51) May 29 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10208
- d-bugmail puremagic.com (12/12) May 30 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10208
- d-bugmail puremagic.com (13/13) May 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10208
- d-bugmail puremagic.com (10/10) May 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10208
- d-bugmail puremagic.com (10/10) Jun 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10208
- d-bugmail puremagic.com (8/8) Jun 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10208
http://d.puremagic.com/issues/show_bug.cgi?id=10208 Summary: Module-level const/immutable variables with initialization value don't support UDAs Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc DMD 2.063beta7: ( 10) enum int x01 = 100; ( 20) int x02; ( 30) const int x03; ( 40) immutable int x04; ( 50) int x05 = 500; ( 60) const int x06 = 600; ( 70) immutable int x07 = 700; ( 80) __gshared enum int x08 = 800; ( 90) __gshared int x09; (100) __gshared const int x10; (110) __gshared immutable int x11; (120) __gshared int x12 = 1200; (130) __gshared const int x13 = 1300; (140) __gshared immutable int x14 = 1400; pragma(msg, __traits(getAttributes, x01)); // OK pragma(msg, __traits(getAttributes, x02)); // OK pragma(msg, __traits(getAttributes, x03)); // OK pragma(msg, __traits(getAttributes, x04)); // OK pragma(msg, __traits(getAttributes, x05)); // OK pragma(msg, __traits(getAttributes, x06)); // Error pragma(msg, __traits(getAttributes, x07)); // Error pragma(msg, __traits(getAttributes, x08)); // OK pragma(msg, __traits(getAttributes, x09)); // OK pragma(msg, __traits(getAttributes, x10)); // OK pragma(msg, __traits(getAttributes, x11)); // OK pragma(msg, __traits(getAttributes, x12)); // OK pragma(msg, __traits(getAttributes, x13)); // Error pragma(msg, __traits(getAttributes, x14)); // Error void main() {} Problem found by Dicebot and Jack Applegame, and reported by me after suggestion by Kenji Hara: http://forum.dlang.org/post/iqfqmapsksrpmoaxaqlf forum.dlang.org -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 29 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10208 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Platform|x86 |All OS/Version|Windows |All https://github.com/D-Programming-Language/dmd/pull/2100 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 30 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10208 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ff7270da2b14503c723124f840a69cb8adebe3df fix Issue 10208 - Module-level const/immutable variables with initialization value don't support UDAs https://github.com/D-Programming-Language/dmd/commit/4aac3b50b4516974d4b9e42b268c0ef7f6667a7c Issue 10208 - Module-level const/immutable variables with initialization value don't support UDAs -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10208 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10208 Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/19c35c853041d5c64c5d0ad5869182e42c3f029b Issue 10208 - Module-level const/immutable variables with initialization value don't support UDAs -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10208 Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/19c35c853041d5c64c5d0ad5869182e42c3f029b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 01 2013