[Issue 12167] GIT HEAD: AAs are broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 15 09:38:30 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12167


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-15 19:38:28 EET ---
(In reply to comment #0)
> Also it rejects previously valid code:
> class A {}
> 
> immutable A[short] table;
> auto a = table.get(10, null);

This is the only example that I succeeded to compile with DMD 2.064.2.

This example was broken in these pull requests:
https://github.com/D-Programming-Language/dmd/pull/2856
https://github.com/D-Programming-Language/druntime/pull/668

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


More information about the Digitalmars-d-bugs mailing list