On Thursday, 7 November 2019 at 12:14:43 UTC, Luh wrote:
Hey there,
I figured out some strange behavior ;
#1
It seems that the linker doesn't check for the function
declared twice first.
Instead, it says:
"Error: class app.Child use of app.Parent.foo() is hidden by
Child; use alias foo =
On Thursday, 7 November 2019 at 18:45:21 UTC, Ali Çehreli wrote:
On 11/07/2019 04:14 AM, Luh wrote:
It's not the linker but the "compiler" that is concerned about
these things.
[...]
Oops :o
That's an important warning where the programmer can get
surprising results depending on whether
On 11/07/2019 04:14 AM, Luh wrote:
> Hey there,
>
> I figured out some strange behavior ;
>
> #1
> It seems that the linker doesn't check for the function declared twice
> first.
It's not the linker but the "compiler" that is concerned about these things.
> Instead, it says:
>
> "Error: class
Hey there,
I figured out some strange behavior ;
#1
It seems that the linker doesn't check for the function declared
twice first.
Instead, it says:
"Error: class app.Child use of app.Parent.foo() is hidden by
Child; use alias foo = Parent.foo; to introduce base class
overload set"
but