Closed ghost closed 2 years ago
Blocks literal can include return type, which is not supported in current grammar. This PR added return type in Blocks expression
Example code:
function([db A:a block:^int(Type *type) { return 0; }]);
Here the int is the return type
Blocks literal can include return type, which is not supported in current grammar. This PR added return type in Blocks expression
Example code:
Here the int is the return type