Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Unified Diff: test/codegen/expect/temps.js

Issue 1524843002: JS: Format if statements with no else on a single line (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebased Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/temps.js
diff --git a/test/codegen/expect/temps.js b/test/codegen/expect/temps.js
index df9da7f5fe08e2bb125bff7c3e7a3f4e7a115e2e..896324054601eeb0dab4204a23ff1a214f37c6ff 100644
--- a/test/codegen/expect/temps.js
+++ b/test/codegen/expect/temps.js
@@ -21,8 +21,7 @@ dart_library.library('temps', null, /* Imports */[
const _opt = Symbol('_opt');
class OptionalArg extends core.Object {
OptionalArg(opt) {
- if (opt === void 0)
- opt = 123;
+ if (opt === void 0) opt = 123;
this[_opt] = opt;
this.opt = null;
}
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698