Sorry about the possible double post. I cannot see my previous..
struct S {
@property int B() {
return 1;
}
}
void main() {
S s1;
auto a1 = s1.B; // ok
const(S) s2;
auto a2 = s2.B; // Error: function t.S.B () is not callable using
argument types ()
}