https://issues.dlang.org/show_bug.cgi?id=18698
--- Comment #3 from Manu <turkey...@gmail.com> --- I barely understood a word of that post. Point is, this used to work... I've been using this for almost 10 years to do a bunch of codegen for stuff in module scope. --