[Issue 9215] [2.061 beta] isDymanicArray/DynamicArrayTypeOf broken for classes/interfaces with AliasThis

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 27 05:17:25 PST 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid
           Severity|normal                      |regression


--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2012-12-27 05:17:23 PST ---
(In reply to comment #2)
> Reopened, as the issue wih isDynamicArray _is_ a regression, and for example
> breaks std.array.popFront for arrays of classes with alias this. If
> DynamicArrayTypeOf is broken, then please try to find a way to implement
> isDynamicArray without relying on it.

OK. The regression of isDynamicArray has been introduced by this Phobos change.

https://github.com/D-Programming-Language/phobos/commit/43fdbc83a1e710f30f8fc6cf464636f69487267b

After that, isDynamicArray depends on DynamicArrayTypeOf, and now the bug 9177
affects to both templates.

We would be able to revert the Phobos change to fix the regression, but I'd
like to recommend fixing bug 9177 to remove root issue.

https://github.com/D-Programming-Language/dmd/pull/1385

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