dart-sdk/pkg/js_ast
Nate Biggs 1941a8f463 [dart2js] Manually add braces for dangling else.
Rather than emit a different node than what is expected (the Block rather than the enclosed statement), we can manually emit the necessary braces.

Change-Id: I0bf2a27a56828cb6d292479c73fdaec8f4072116
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/336980
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2023-11-17 20:48:27 +00:00
..
lib [dart2js] Manually add braces for dangling else. 2023-11-17 20:48:27 +00:00
test [js_ast, dart2js] Unwrap trivial blocks in the compiler, not printer 2023-11-17 19:23:27 +00:00
analysis_options.yaml [pkg] remove duplicate config from the analysis options files 2023-11-14 00:37:53 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml [web] do not run most 'pkg' suite on web compilers 2023-10-20 19:08:17 +00:00
README.md

js_ast

A library for creating JavaScript ASTs from templates.