We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02c72f2 commit f7d031bCopy full SHA for f7d031b
std/conv.d
@@ -1024,7 +1024,7 @@ if (!(is(S : T) &&
1024
}
1025
1026
1027
- static if (!is(S == class) && __traits(getAliasThis, S).length > 0)
+ else static if (!is(S == class) && __traits(getAliasThis, S).length > 0)
1028
{
1029
enum aliasName = __traits(getAliasThis, S)[0];
1030
@@ -1037,7 +1037,7 @@ if (!(is(S : T) &&
1037
1038
1039
1040
- static if (is(typeof(S.init.toString())))
+ else static if (is(typeof(S.init.toString())))
1041
1042
alias ToStringReturnType = typeof(S.init.toString());
1043
0 commit comments