On Saturday, March 22, 2025 11:38:05 AM MDT Paul Backus via Digitalmars-d-learn
wrote:
> On Saturday, 22 March 2025 at 12:05:11 UTC, Ali Çehreli wrote:
> > On 3/21/25 8:35 PM, Andy Valencia wrote:
> >
> > > tst39.d(21):add `alias this = tst39.A.this` to
> > `tst39.B`'s body
> > > to merge
On Saturday, 22 March 2025 at 12:05:11 UTC, Ali Çehreli wrote:
On 3/21/25 8:35 PM, Andy Valencia wrote:
> tst39.d(21):add `alias this = tst39.A.this` to
`tst39.B`'s body
> to merge the overload sets
Yeah, that doesn't work. Perhaps a regression...
It's never worked. The error message
On 3/21/25 8:35 PM, Andy Valencia wrote:
> tst39.d(21):add `alias this = tst39.A.this` to `tst39.B`'s body
> to merge the overload sets
Yeah, that doesn't work. Perhaps a regression...
> I _can_ add this to B:
>
> ```d
> this() {
> super():
> }
> ```
And then it's mo
On Saturday, 22 March 2025 at 03:35:35 UTC, Andy Valencia wrote:
Consider the following, totally contrived, code. The compiler
tells me:
tst39.d(21): Error: constructor `tst39.B.this(string s)` is not
callable using argument types `()`
tst39.d(21):constructor `tst39.B.this` hides base