[Issue 4211] struct with annotation(@safe)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 20 09:24:08 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4211
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2010-05-20 09:24:06 PDT ---
It's a bug.
This works:
struct Foo {
@safe void func() { }
}
@safe void main() {
Foo f;
f.func();
}
--
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