mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Fixed some nested function problems when accessing outer function parameters. Major changes to handling of structs. Initial support for unions. Probably more...
13 lines
112 B
D
13 lines
112 B
D
module nested4;
|
|
|
|
void func(void delegate() dg) {
|
|
auto v = (){
|
|
dg();
|
|
};
|
|
}
|
|
|
|
void main()
|
|
{
|
|
func({});
|
|
}
|