[svn r77] Fixed foreach on slice.

Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
This commit is contained in:
Tomas Lindquist Olsen
2007-10-31 03:11:32 +01:00
parent 4230f2ef11
commit 9804fe0fa3
23 changed files with 562 additions and 283 deletions

12
test/nested4.d Normal file
View File

@@ -0,0 +1,12 @@
module nested4;
void func(void delegate() dg) {
auto v = (){
dg();
};
}
void main()
{
func({});
}