[Issue 15956] Incorrect value inside enum using simd vectors, weird tym errors, and weird if(true) {} partial solution.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 12 23:10:55 UTC 2018


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

joeks at mail.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from joeks at mail.de ---
Tried it now, seems to work, too.


with the constructor:

this(in float4 arr) {
    vec = arr;
}

the output is correct for both variables.
However the compile error with the float[4] accepting constructor is is still
there. Also it did not matter if the 'if anything' was present or not.

I suppose this is a different issue (or a feature?) and should therefore be
addressed in a different thread.

-> This can be closed?

--


More information about the Digitalmars-d-bugs mailing list