https://issues.dlang.org/show_bug.cgi?id=16390
--- Comment #3 from b2.t...@gmx.com --- (In reply to Lodovico Giaretta from comment #2) > (In reply to b2.temp from comment #1) > If this was meant to be a workaround, it doesn't seem to work for me (the > trait returns a type, while typeof expects an expression). > > If it was meant to be another situation where __traits should be allowed but > are not, it looks like they are currently allowed inside typeof. Yes, second case, sorry. It clearly doesn't work with the parent __traits. --