Skip to content

Commit e6785b3

Browse files
authored
Merge pull request #2236 from RazvanN7/patch-7
Temporarily delete an example from traits(isSame)
2 parents 5720093 + 256b8be commit e6785b3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spec/traits.dd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,10 +1040,6 @@ void main()
10401040
int b;
10411041
static assert(!__traits(isSame, a => a + b, a => a + b));
10421042

1043-
// lambdas calling a function inside their body are considered incomparable
1044-
int f() { return 3;}
1045-
static assert(!__traits(isSame, a => a + f(), a => a + f()));
1046-
10471043
class A
10481044
{
10491045
int a;

0 commit comments

Comments
 (0)