Skip to content

Commit

Permalink
EnumMembers now works with single-member enums.
Browse files Browse the repository at this point in the history
  • Loading branch information
Biotronic committed Jul 9, 2013
1 parent 3432b61 commit 4e2527f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/traits.d
Expand Up @@ -3116,7 +3116,7 @@ template EnumMembers(E)
}
else static if (names.length == 1)
{
alias WithIdentifier!(names[0]).Symbolize!(__traits(getMember, E, names[0])) EnumSpecificMembers;
alias TypeTuple!(WithIdentifier!(names[0]).Symbolize!(__traits(getMember, E, names[0]))) EnumSpecificMembers;
}
else
{
Expand Down

0 comments on commit 4e2527f

Please sign in to comment.