https://issues.dlang.org/show_bug.cgi?id=19961
--- Comment #4 from Nicholas Wilson <[email protected]> --- So the real issue is: struct S { int x; void foo() const { pragma(msg, typeof(x)); // const(int) } } void test() { void nested() const { pragma(msg, typeof(x)); // int } } --
