Thread overview
[Issue 18809] Improve error message on nonexistent property
May 02, 2018
RazvanN
Jun 01, 2018
Nick Treleaven
Jun 04, 2018
Nick Treleaven
Jun 11, 2018
Nick Treleaven
Nov 22, 2019
Dlang Bot
Nov 29, 2019
Dlang Bot
May 02, 2018
https://issues.dlang.org/show_bug.cgi?id=18809

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

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

--
June 01, 2018
https://issues.dlang.org/show_bug.cgi?id=18809

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #1 from Nick Treleaven <nick@geany.org> ---
enum e = Object.foo;

The above code gives:
propmissing.d(1): Error: no property `foo` for type `object.Object`

Can you give an example where the FQN is not given, when the symbol is *not* defined in the module where the error is triggered?

--
June 04, 2018
https://issues.dlang.org/show_bug.cgi?id=18809

Nick Treleaven <nick@geany.org> changed:

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

--
June 11, 2018
https://issues.dlang.org/show_bug.cgi?id=18809

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #2 from Nick Treleaven <nick@geany.org> ---
Sorry, this issue is valid. Object seems to be a handled differently. The following code does not show the module in which GC is defined in the error message:

import core.memory;
enum e = GC.foo;

--
November 22, 2019
https://issues.dlang.org/show_bug.cgi?id=18809

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@alexandrumc created dlang/dmd pull request #10604 "Fix Issue 18809 - Improve error message on nonexistent property" fixing this issue:

- Fix Issue 18809 - Improve error message on nonexistent property

https://github.com/dlang/dmd/pull/10604

--
November 29, 2019
https://issues.dlang.org/show_bug.cgi?id=18809

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10604 "Fix Issue 18809 - Improve error message on nonexistent property" was merged into master:

- ba748f78a34567cb8b282aab98e90ee54563dcc0 by Alexandru Militaru:
  Fix Issue 18809 - Improve error message on nonexistent property; using fully
qualified name

https://github.com/dlang/dmd/pull/10604

--