Thread overview
[Issue 17518] [Reg 2.063] confusing error message with inout constructor/ctor
[Issue 17518] confusing error message with inout constructor/ctor
Jun 18, 2017
Vladimir Panteleev
Feb 28, 2018
Martin Nowak
Dec 18, 2018
RazvanN
June 18, 2017
https://issues.dlang.org/show_bug.cgi?id=17518

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com
           Severity|normal                      |regression

--- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> ---
This seems to be a regression.

2.061:

test.d(13): Error: constructor test.S.this (inout(Correct) _param_0) inout is
not callable using argument types (Wrong)
test.d(13): Error: cannot implicitly convert expression (Wrong()) of type Wrong
to Correct

2.062:

test.d(13): Error: inout method test.S.this is not callable using a mutable
object
test.d(13): Error: cannot implicitly convert expression (Wrong()) of type Wrong
to Correct

2.063:

test.d(13): Error: inout method test.S.this is not callable using a mutable
object

The 2.062 -> 2.063 change was caused by https://github.com/dlang/dmd/pull/1842. Not sure about the first one.

--
February 28, 2018
https://issues.dlang.org/show_bug.cgi?id=17518

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|confusing error message     |[Reg 2.063] confusing error
                   |with inout constructor/ctor |message with inout
                   |                            |constructor/ctor

--
December 18, 2018
https://issues.dlang.org/show_bug.cgi?id=17518

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
PR: https://github.com/dlang/dmd/pull/9102

--
December 21, 2018
https://issues.dlang.org/show_bug.cgi?id=17518

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

https://github.com/dlang/dmd/commit/3d9550ca39f53dcdab98093aa77221a1b8b30538 Fix Issue 17518 - [Reg 2.063] confusing error message with inout constructor/ctor

https://github.com/dlang/dmd/commit/624236c30ab84957a8f75f5c51fe75b3b2b99e41 Merge pull request #9102 from RazvanN7/Issue_17518

Fix Issue 17518 - [Reg 2.063] confusing error message with inout
constructor/ctor
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>

--
December 21, 2018
https://issues.dlang.org/show_bug.cgi?id=17518

github-bugzilla@puremagic.com changed:

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

--