We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08bc75a commit dead392Copy full SHA for dead392
1 file changed
std/typecons.d
@@ -1511,6 +1511,13 @@ if (distinctFieldNames!(Specs))
1511
assert(tuple(1, 2) == point);
1512
}
1513
1514
+@safe @betterC unittest
1515
+{
1516
+ auto t = tuple(1, 2);
1517
+ assert(t == tuple(1, 2));
1518
+ auto t3 = tuple(1, 'd');
1519
+}
1520
+
1521
/**
1522
Creates a copy of a $(LREF Tuple) with its fields in _reverse order.
1523
0 commit comments