87d9b9d946
Simplify the js_ast printer - it should not transform the program while printing. js_ast: - Don't skip blocks containing a single statement. - Don't rewrite arrow functions. dart2js: - Fix rewrite_async.dart to avoid a few singleton blocks. - Static initializer thunks are transformed in arrow functions with expression bodies. Change-Id: I4ab75c6ca7f580835a6c9d4eb45240d76df9d895 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/336820 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com>