Skip to content

Commit

Permalink
Fix for issue 16182
Browse files Browse the repository at this point in the history
https://issues.dlang.org/show_bug.cgi?id=16182

It is beyond my comprension as to why this irrelevant change helps
fixes #16182. I believe there is something amiss becuase expression
fqnSym!(__traits(parent, T)) ~ '.' is returning a char[] while
fqnSym!(__traits(parent, T)) ~ "." returns a string. This while
expression fqnSym!(__traits(parent, T)) returns a string.
  • Loading branch information
puneet committed Jun 19, 2016
1 parent 81d132f commit 59df244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/traits.d
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ private template fqnSym(alias T : X!A, alias X, A...)
private template fqnSym(alias T)
{
static if (__traits(compiles, __traits(parent, T)))
enum parentPrefix = fqnSym!(__traits(parent, T)) ~ '.';
enum parentPrefix = fqnSym!(__traits(parent, T)) ~ ".";
else
enum parentPrefix = null;

Expand Down

0 comments on commit 59df244

Please sign in to comment.