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

Unified Diff: pkg/dev_compiler/test/codegen_expected/async_helper.js

Issue 2926613003: Generate better code for '=='. (Closed)
Patch Set: Address comments Created 3 years, 6 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: pkg/dev_compiler/test/codegen_expected/async_helper.js
diff --git a/pkg/dev_compiler/test/codegen_expected/async_helper.js b/pkg/dev_compiler/test/codegen_expected/async_helper.js
index dbefdda672ab7ee34ce0646aea027ce6e22b5c6d..5517677c4a167d99110325c5100e4182c89d8225 100644
--- a/pkg/dev_compiler/test/codegen_expected/async_helper.js
+++ b/pkg/dev_compiler/test/codegen_expected/async_helper.js
@@ -43,7 +43,7 @@ define(['dart_sdk'], function(dart_sdk) {
}
});
async_helper.asyncStart = function() {
- if (dart.test(async_helper._initialized) && async_helper._asyncLevel == 0) {
+ if (dart.test(async_helper._initialized) && async_helper._asyncLevel === 0) {
dart.throw(async_helper._buildException('asyncStart() was called even though we are done ' + 'with testing.'));
}
if (!dart.test(async_helper._initialized)) {
@@ -65,7 +65,7 @@ define(['dart_sdk'], function(dart_sdk) {
}
}
async_helper._asyncLevel = dart.notNull(async_helper._asyncLevel) - 1;
- if (async_helper._asyncLevel == 0) {
+ if (async_helper._asyncLevel === 0) {
let callback = async_helper._onAsyncEnd;
async_helper._onAsyncEnd = null;
callback();
« no previous file with comments | « pkg/dev_compiler/test/codegen/identity_test.dart ('k') | pkg/dev_compiler/test/codegen_expected/equality_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698