https://issues.dlang.org/show_bug.cgi?id=5270
--- Comment #10 from anonymous4 ---
(In reply to Walter Bright from comment #6)
> This check is limited to @safe code to avoid breaking too much existing code.
For the record: escaping scoped data should stay allowed is
https://issues.dlang.org/show_bug.cgi?id=5270
Walter Bright changed:
What|Removed |Added
Status|REOPENED|RESOLVED
https://issues.dlang.org/show_bug.cgi?id=5270
Walter Bright changed:
What|Removed |Added
Keywords||pull
--- Comment
https://issues.dlang.org/show_bug.cgi?id=5270
--- Comment #7 from Walter Bright ---
(In reply to timon.gehr from comment #2)
> The issue is that "it compiles and runs without error". (the second
> assertion asserts that there is memory corruption) The compiler has to
>
https://issues.dlang.org/show_bug.cgi?id=5270
--- Comment #6 from Walter Bright ---
(In reply to hsteoh from comment #4)
> Another failing case that illustrates the problem:
> --
> int delegate() globDg;
>
> void func(scope int delegate() dg) {
> globDg =
https://issues.dlang.org/show_bug.cgi?id=5270
Mike slavo5...@yahoo.com changed:
What|Removed |Added
CC||slavo5...@yahoo.com
--
https://issues.dlang.org/show_bug.cgi?id=5270
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment
https://issues.dlang.org/show_bug.cgi?id=5270
--- Comment #4 from hst...@quickfur.ath.cx ---
Another failing case that illustrates the problem:
--
int delegate() globDg;
void func(scope int delegate() dg) {
globDg = dg; // should be rejected but isn't
globDg();
}
void sub()
https://issues.dlang.org/show_bug.cgi?id=5270
David Nadlinger c...@klickverbot.at changed:
What|Removed |Added
Keywords||safe
http://d.puremagic.com/issues/show_bug.cgi?id=5270
timon.g...@gmx.ch changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5270
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
11 matches
Mail list logo