This code doesn't work: ------------------------------------- import std.traits; class A { void foo() const { } } void main() { auto a = new A; static assert(functionAttributes!(a.foo) != FunctionAttribute.none); } ------------------------------------- functionAttributes does not consider these attributes now. functionAttributes should consider these attributes. Or there should be a different method to examine it. (eg. functionQualifiers
dmd2.068, linux, 64bit Code works as expected.