Skip to content

Commit d9699ba

Browse files
authored
Merge pull request #3145 from pbackus/update-allmembers-spec
Fix inaccurate __traits(allMembers) spec
2 parents e9317ba + cae2620 commit d9699ba

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spec/traits.dd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,10 +1453,12 @@ $(H2 $(GNAME getVirtualIndex))
14531453
$(H2 $(GNAME allMembers))
14541454

14551455
$(P Takes a single argument, which must evaluate to either
1456-
a type or an expression of type.
1456+
a module, a struct, a union, a class, an interface or a
1457+
template instantiation.
1458+
14571459
A tuple of string literals is returned, each of which
1458-
is the name of a member of that type combined with all
1459-
of the members of the base classes (if the type is a class).
1460+
is the name of a member of that argument combined with all
1461+
of the members of its base classes (if the argument is a class).
14601462
No name is repeated.
14611463
Builtin properties are not included.
14621464
)

0 commit comments

Comments
 (0)