On Saturday 05 September 2015 07:52, anonymous wrote: > This doesn't work because delegates and static initialization don't go > together. You can use a static constructor: > > ---- > const Application MyApp; > static this() > { > Application.New({import std.stdio; std.stdio.writeln("MY APP IS > COOL");
Should be: MyApp = Application.New({...}); > }); > } > ----