This occurs, apparently, when the line that terminates the sub-block expression is indented by exactly one space EDIT: an odd number of spaces...? from the initial indentation of the parent block, and the contents of the sub-block are indented past that, and the line following the terminator is at the original indentation:
# These don't work
->
(
a
)
b
->
(
a
)
b
###
(function() {
return a;
});
b;
###
# These work correctly:
->
(
a
)
b
->
(
a
)
b
->
(
a
)
b
###
(function() {
a;
return b;
});
###