[Issue 3667] Regression(D2 only): broken out(result) in contracts
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 21 17:01:54 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3667
Andrei Alexandrescu <andrei at metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei at metalanguage.com
--- Comment #2 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-02-21 17:01:52 PST ---
An example involving a nested function:
void fun() {
int gun()
out(result)
{
assert(result == 42);
} body
{
return 42;
}
gun();
}
void main() {
fun();
}
--
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