You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Presence of move constructor causes overload error #21476
Activity
ibuclaw commentedon Jun 24, 2025
@TurkeyMan
TurkeyMan commentedon Jun 24, 2025
What's A? That's not a copy constructor.
If it was a typo, this is for @WalterBright
ibuclaw commentedon Jun 24, 2025
Typo.
Fix is simple, just fyi'ing you to look over correctness of code.
This line needs changing
dmd/compiler/src/dmd/dstruct.d
Line 310 in cbbca2b
Move constructor is not a regular constructor.
Additionally there's this for distinguishing between move constructor and regular constructors in error messages.
dmd/compiler/src/dmd/func.d
Line 1376 in cbbca2b
fix dlang#21476: Presence of move constructor causes overload error
fix dlang#21476: Presence of move constructor causes overload error
fix #21476: Presence of move constructor causes overload error (#21477)