[Issue 19961] context pointer does not apply qualifiers properly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 17 12:55:12 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19961
--- Comment #4 from Nicholas Wilson <iamthewilsonator at hotmail.com> ---
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
}
}
--
More information about the Digitalmars-d-bugs
mailing list