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

Unified Diff: test/codegen/expect/constructors.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/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index 2b1df9b0cf0c4029029b412484b2388445c2b727..853a29316f275ce9cd48d960c502ce61ee028a26 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -42,8 +42,8 @@ var constructors;
}
}
class H extends core.Object {
- H(opt$) {
- let p1 = opt$ && 'p1' in opt$ ? opt$.p1 : null;
+ H(opts) {
+ let p1 = opts && 'p1' in opts ? opts.p1 : null;
}
}
class I extends core.Object {

Powered by Google App Engine
This is Rietveld 408576698