On Saturday 12 September 2015 20:28, Random D user wrote:
> prints (with option B):
> bar: 0.00, 0.00 // BUG??
> baz: 1.00, 2.00
Looks like a bug to me. Please file an issue at https://issues.dlang.org/
On Saturday, 12 September 2015 at 18:28:02 UTC, Random D user
wrote:
or is it some obscure feature conflict?
[...]
Oh... and I'm using win 64-bit and dmd 2.068.1, but this behavior
was present earlier than that...
or is it some obscure feature conflict?
struct Foo
{
this( float x_, float y_ )
{
// option A
//x = x_;
//y = y_;
// option B
v[0] = x_;
v[1] = y_;
}
union
{
struct
{
float x = 0;
float