Skip to content

Commit 6f989e5

Browse files
Fix block type errors
1 parent 9fefa67 commit 6f989e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/objc/block.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Block!(R, Params) block(R, Params...)(R delegate(Params) dg) {
141141
enum flags = 0x40000000;
142142

143143
return Block!(R, Params)(
144-
&_NSConcreteStackBlock, flags, &invoke!(R, Params), dg
144+
&_NSConcreteStackBlock, flags, &invoke!(R, Params), cast(typeof(Block!(R, Params).dg))dg
145145
);
146146
}
147147

0 commit comments

Comments
 (0)