[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

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

Nick Treleaven  changed:

   What|Removed |Added

 CC||n...@geany.org
   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=12228

--


[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

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

Nick Treleaven  changed:

   What|Removed |Added

 CC||ga...@mail.ru

--- Comment #5 from Nick Treleaven  ---
*** Issue 9597 has been marked as a duplicate of this issue. ***

--


[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

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

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

   What|Removed |Added

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

--


[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

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

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

https://github.com/dlang/dmd/commit/5cebe70bd69496f129bf2284b02fbe1cbcbd3b82
Fix Issue 18228 - this(this a){} doesn't generate postblit ctor; this(this){}
does

https://github.com/dlang/dmd/commit/bbc087e67ea977de2d5f0410d306b510e4baeb92
Merge pull request #8141 from RazvanN7/Issue_18228

Fix Issue 18228 - this(this a){} doesn't generate postblit ctor; this(this){}
does
merged-on-behalf-of: Jacob Carlborg 

--


[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

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

RazvanN  changed:

   What|Removed |Added

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

--- Comment #3 from RazvanN  ---
PR : https://github.com/dlang/dmd/pull/8141

--


[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

2018-01-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18228

Timothee Cour  changed:

   What|Removed |Added

 CC||timothee.co...@gmail.com

--- Comment #2 from Timothee Cour  ---
agreed, `this(typeof(this) a) {}` should be the correct syntax

--


[Issue 18228] this(this a){} doesn't generate postblit ctor; this(this){} does

2018-01-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18228

ag0ae...@gmail.com changed:

   What|Removed |Added

   Keywords||accepts-invalid
 CC||ag0ae...@gmail.com
   Hardware|x86 |All
 OS|Mac OS X|All

--- Comment #1 from ag0ae...@gmail.com ---
`this(this a){}` is not a postblit function. DMD apparently interprets it as a
constructor, same as `this(typeof(this) a) {}`. I don't think that's correct,
though. It should be rejected as invalid code. Tagging accordingly.

--