[Issue 6838] Covariant return types don't work with static arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 20 17:00:01 PDT 2012


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


SomeDude <lovelydear at mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear at mailmetrash.com


--- Comment #1 from SomeDude <lovelydear at mailmetrash.com> 2012-04-20 17:00:57 PDT ---
This no longer compiles on 2.059 Win32:

PS E:\DigitalMars\dmd2\samples> rdmd bug.d
bug.d(6): Error: function bug.Bar.test of type int[2u]() overrides but is not
covariant with bug.Foo.test of type int[]()
Failed: "dmd" "-v" "-o-" "bug.d" "-I."
PS E:\DigitalMars\dmd2\samples>

-- 
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