On Saturday, 9 January 2016 at 12:43:32 UTC, Øivind wrote: > Why doesn't this work? Seems like it should: D defines version to only work on *complete* blocks. You're trying to use it on a partial block there. You'll have to try something else. Perhaps copying the whole enum in the different version blocks....