https://issues.dlang.org/show_bug.cgi?id=16160

Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=10658
            Summary|selective imports in        |Selective imports in
                   |aggregation shadow          |aggregate types shadow
                   |@property functions         |methods
                 OS|Linux                       |All
           Severity|critical                    |normal

--- Comment #1 from Vladimir Panteleev <[email protected]> ---
Worth noting that before https://github.com/dlang/dmd/pull/2417, the error
message made a bit more sense:

test.d(4): Error: function test.Foo.empty conflicts with alias test.Foo.empty
at test.d(2)

The current error message mentions that f.empty is of type void, which is
misleading.

--

Reply via email to