[Issue 9256] A purity-related error message in case of member access
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 1 20:57:36 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9256
--- Comment #1 from bearophile_hugs at eml.cc 2013-01-01 20:57:36 PST ---
See also:
struct Foo {
int x;
}
void main() pure {
int y = Foo.x.max;
}
test3.d(5): Error: pure nested function 'main' cannot access mutable data 'x'
But I think this problem is elsewhere in Bugzilla.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list