[Issue 5153] Struct pointer to struct variable assign error message

2018-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5153

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/14dfe15bf5aad2c6638f1552b6250416b6b7c2b4
Fix Issue 5153 - Struct pointer to struct variable assign error message

https://github.com/dlang/dmd/commit/b61d1c8989bed54489c9c7eb5acc2e1f4312b8c6
Merge pull request #8203 from RazvanN7/Issue_5153

Fix Issue 5153 - Struct pointer to struct variable assign error message
merged-on-behalf-of: Mike Franklin 

--


[Issue 5153] Struct pointer to struct variable assign error message

2018-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5153

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 5153] Struct pointer to struct variable assign error message

2018-04-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5153

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com

--- Comment #2 from RazvanN  ---
PR : https://github.com/dlang/dmd/pull/8203/files

--


[Issue 5153] Struct pointer to struct variable assign error message

2016-10-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5153

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 5153] Struct pointer to struct variable assign error message

2014-04-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5153

Andrej Mitrovic  changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com,
   ||k.hara...@gmail.com

--- Comment #1 from Andrej Mitrovic  ---
It's not a wrong diagnostic, but maybe it can be improved somehow. The issue is
that after construction the compiler will attempt another construction. E.g.:

-
struct Foo
{
this(Foo* x_) { }
this(int x_) { }
}

void main()
{
// calls two ctors
Foo f = new Foo(0);
}
-

Maybe this can be considered dangerous behavior. I'll CC Kenji for thoughts.

--


[Issue 5153] Struct pointer to struct variable assign error message

2014-04-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5153

Andrej Mitrovic  changed:

   What|Removed |Added

   Hardware|x86 |All
 OS|Windows |All

--