Merge pull request #10621 from 0xEAB/thewilsonator-patch-1

Fix self assignment for dlang/dmd#20696
This commit is contained in:
Dennis 2025-01-14 10:17:13 +01:00 committed by GitHub
commit 336bed6d8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3348,7 +3348,7 @@ package(std) Rebindable2!T rebindable2(T)(T value)
this(ref inout S rhs) @safe inout
{
this.i = i;
this.i = rhs.i;
copied = true;
}
}