Skip to content

Commit 5f8a36f

Browse files
Docs: Resolve TODO in example (#10898)
1 parent e1594be commit 5f8a36f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

std/traits.d

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,14 +1182,7 @@ if (isCallable!func)
11821182
static assert(pstc.length == 4); // number of parameters
11831183
static assert(pstc[0] == STC.ref_);
11841184
static assert(pstc[1] == STC.out_);
1185-
version (none)
1186-
{
1187-
// TODO: When the DMD PR (dlang/dmd#11474) gets merged,
1188-
// remove the versioning and the second test
1189-
static assert(pstc[2] == STC.in_);
1190-
// This is the current behavior, before `in` is fixed to not be an alias
1191-
static assert(pstc[2] == STC.scope_);
1192-
}
1185+
static assert(pstc[2] == STC.in_);
11931186
static assert(pstc[3] == STC.none);
11941187
}
11951188

0 commit comments

Comments
 (0)