[Issue 3934] Some untidy attributes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 8 04:20:34 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3934
--- Comment #14 from bearophile_hugs at eml.cc 2010-11-08 04:19:31 PST ---
This bug is now fixed:
auto pure foo() {
return 1;
}
pure void bar() {
foo();
}
void main() {}
DMD 2.050 gives the error:
test.d(5): Error: pure function 'bar' cannot call impure function 'foo'
--
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