Closed
Description
function foo() {
return /*END*/() => {
/*START*/return 10;
}
}
Go to definition on START
should jump you up to the containing function.
It should be resilient to questionable placements of return
and do nothing, as in the following cases.
/*a*/return;
function foo() {
class Foo {
static { /*b*/return; }
}
}