nedbrek Wrote: > 2) What is the best way to make the same declarations work for D1 and D2? > It seems everything inside a "version" statement must parse correctly, and > D1 doesn't want to parse "immutable(char)"... You may also use versioned aliases. Just include the D2 code via a string mixin to circumvent the parsing problem.