Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 7e0c6b5

Browse files
kinkedlang-bot
authored andcommitted
Fix TODO wrt. first 2.099 tag
1 parent 25ad2a2 commit 7e0c6b5

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/object.d

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,17 +1885,8 @@ class TypeInfo_Struct : TypeInfo
18851885
return false;
18861886
else if (xopEquals)
18871887
{
1888-
// TODO: remove as soon as `git describe` for DMD master yields v2.099+
1889-
static if (__VERSION__ < 2099)
1890-
{
1891-
const dg = _memberFunc(p2, xopEquals);
1892-
return dg.xopEquals(p1);
1893-
}
1894-
else
1895-
{
1896-
const dg = _memberFunc(p1, xopEquals);
1897-
return dg.xopEquals(p2);
1898-
}
1888+
const dg = _memberFunc(p1, xopEquals);
1889+
return dg.xopEquals(p2);
18991890
}
19001891
else if (p1 == p2)
19011892
return true;

0 commit comments

Comments
 (0)