--- Comment #7 from Kenji Hara <> 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:
> 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:
------- You are receiving this mail because: -------

Reply via email to