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



--- Comment #16 from Kenji Hara <k.hara...@gmail.com> 2013-11-03 01:18:36 PST 
---
(In reply to comment #15)
> (In reply to comment #10)
> >   uint[]  udarr;
> >   uint[1] usarr;
> > 
> >   int[1] arr1 = udarr; //OK
> >   int[1] arr2 = usarr; //OK
> 
> Mmm...I think this is a bug. Because following code is also accepted in
> compilation, and will cause runtime exception!
> 
> void main()
> {
>   int[4] sa;
>   ulong[4] sa2 = sa;
> }

I opened bug 11426. It is a regression issue from 2.061.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to