[Issue 3934] Some untidy attributes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 23 16:21:04 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3934
--- Comment #18 from bearophile_hugs at eml.cc 2011-01-23 16:18:58 PST ---
Another variant of the code, found by Dan Olson, this compiles and runs with no
errors with DMD 2.051:
struct Foo { int x; }
void bar(ref Foo f) { f.x = 1; }
void main() {
const f = Foo();
bar(f);
}
--
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