[Issue 9916] int*[] implicitly converts to int*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 10 21:56:33 PDT 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2013-04-10 21:56:32 PDT ---
In D's specification, implicit conversion from T[] to T is not allowed.

The code had accidentally changed to be accepted in 2.061, but the regression
was already fixed in 2.062 (Bug 9259 is directly related to the issue).

Therefore, the OP code is invalid and should not work.

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