[Issue 6111] Escaping reference to local variable not detected

2011-06-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6111 --- Comment #1 from Walter Bright bugzi...@digitalmars.com 2011-06-06 15:57:49 PDT --- Reduced test case: import std.c.stdio; auto mymap() { int x = 42; int fun(int a) { return x + a; } auto map()(int r) { struct

[Issue 6111] Escaping reference to local variable not detected

2011-06-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6111 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED