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

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

Issue 1020043002: Replace dart_core.js with actual compiled SDK (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 7807d13574b117f0cf1482a4d064cdf886f4bf89..2b1df9b0cf0c4029029b412484b2388445c2b727 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -43,7 +43,7 @@ var constructors;
}
class H extends core.Object {
H(opt$) {
- let p1 = opt$.p1 === void 0 ? null : opt$.p1;
+ let p1 = opt$ && 'p1' in opt$ ? opt$.p1 : null;
}
}
class I extends core.Object {

Powered by Google App Engine
This is Rietveld 408576698