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

Unified Diff: test/codegen/expect/sunflower/dom.js

Issue 1030063004: more care around generated names, fixes #60 #82 and #97 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months 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
Index: test/codegen/expect/sunflower/dom.js
diff --git a/test/codegen/expect/sunflower/dom.js b/test/codegen/expect/sunflower/dom.js
index ea7f264505db9bfe16a3cecd6f7b7c8eba2c78f5..62d83cdbe91307e23f5b0fc36916cbd4c605fbcd 100644
--- a/test/codegen/expect/sunflower/dom.js
+++ b/test/codegen/expect/sunflower/dom.js
@@ -2,8 +2,8 @@ var dom;
(function(exports) {
'use strict';
class JsName extends core.Object {
- JsName(opt$) {
- let name = opt$ && 'name' in opt$ ? opt$.name : null;
+ JsName(opts) {
+ let name = opts && 'name' in opts ? opts.name : null;
this.name = name;
}
}

Powered by Google App Engine
This is Rietveld 408576698