[Issue 10157] Vector ops with different types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 21 06:59:15 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=10157

anonymous4 <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
           Hardware|x86                         |All
         Resolution|FIXED                       |---
                 OS|Windows                     |All

--- Comment #2 from anonymous4 <dfj1esp02 at sneakemail.com> ---
void f()
{
    ubyte[] a;
    char[] b;
    a[]=b[];
}
Error: cannot implicitly convert expression `b[]` of type `char[]` to `ubyte[]`

--


More information about the Digitalmars-d-bugs mailing list