[Issue 4197] __error iso assert failure in struct function in/out statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 16 11:03:15 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4197
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #2 from bearophile_hugs at eml.cc 2010-05-16 11:03:13 PDT ---
This can be a simplified version of the same problem:
enum Foo F1 = Foo();
struct Foo {
const Foo F2 = func();
}
Foo func() {
assert(false, random);
return Foo();
}
void main() {}
--
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