https://issues.dlang.org/show_bug.cgi?id=7958
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=7958
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=7958
--- Comment #1 from thelastmamm...@gmail.com 2012-04-25 00:34:07 PDT ---
EDIT:
more importantly, it also fails if fun() is defined inside a function:
//this doesn't work:
class A{ int x; }
void myfunction(){
int fun(A a){return a.x;}
A a=new A