comparison test/nested1.d @ 67:f918f3e2e99e trunk

[svn r71] Fixed accessing parent function arguments from inside nested delegates. Some cleanups in VarExp::toElem.
author lindquist
date Sun, 28 Oct 2007 02:46:06 +0200
parents
children
comparison
equal deleted inserted replaced
66:0c5f410d973c 67:f918f3e2e99e
1 module nested1;
2
3 void func(int i)
4 {
5 (){
6 assert(i == 3);
7 }();
8 }
9
10 void main()
11 {
12 func(3);
13 }