http://d.puremagic.com/issues/show_bug.cgi?id=3990
--- Comment #7 from Kenji Hara <k.hara...@gmail.com> 2011-10-31 07:43:01 PDT --- (In reply to comment #5) > I don't see the need to accept this cast. There is the ".ptr" so this cast is > not useful in practice. And generally this cast is refused by DMD 2.056 as you > see in the following program, so you are introducing/leaving an useless > special > case: > [snip] > So I think cast(int*)a1 should be forbidden. The title of this issue is "Deferencing a dynamic array as pointer". Therefore even if you think it is not useful, we should not discuss it in here. Instead, you can file it as a new issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------