Member functions marked as pure can not be called from other pure functions. struct foo { real a() pure { return 1.0; } real b() pure { return a; // Error on this line } } Error: function main.foo.a () is not callable using argument types () Marking a() as pure const allows code to compile, and produces correct results.
Fixed DMD2.050.