Open
Description
If we remove the source map information from the outer function of the generated code below it would potentially avoid showing the redundant stack frames when debugging with Dart DevTools.
Dart:
foo() async => bar();
Generated JavaScript:
module.foo = function foo() { // (1)
return async.async(dart.dynamic, function* foo() { // (2)
return yield bar.bar();
});
};
We need to be careful that we don't drastically regress debugging in chrome devtools in the process.