D-Programming-Language/dmd — pull request #564 by donc (2011-12-17 06:20:24+00:00)
Title: 6995 [CTFE] can't interpret static template method

Really a bug in the front-end, not in CTFE.
Foo.bar(), where Foo is a type, is a fully qualified name, not something which should be lowered into a comma expression with a TypeExp. The bug doesn't show up outside of CTFE, because CommaExp::optimize simply discards the TypeExp.