mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
[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:
12
test/nested4.d
Normal file
12
test/nested4.d
Normal file
@@ -0,0 +1,12 @@
|
||||
module nested4;
|
||||
|
||||
void func(void delegate() dg) {
|
||||
auto v = (){
|
||||
dg();
|
||||
};
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
func({});
|
||||
}
|
||||
Reference in New Issue
Block a user