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

Unified Diff: pkg/dev_compiler/lib/src/compiler/code_generator.dart

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/dev_compiler/doc/GENERIC_METHODS.md ('k') | pkg/dev_compiler/test/codegen/BenchmarkBase.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/code_generator.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/code_generator.dart b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
index 9843eb0b3be33f42817b135b573bae128b498e44..c6dfed5fb31ac4f655ffdf1561cf8b524cfd9f23 100644
--- a/pkg/dev_compiler/lib/src/compiler/code_generator.dart
+++ b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
@@ -3231,7 +3231,7 @@ class CodeGenerator extends Object
if (op == '??') {
// Desugar `l ??= r` as ((x) => x == null ? l = r : x)(l)
// Note that if `x` contains subexpressions, we need to ensure those
- // are also evaluated only once. This is similar to desguaring for
+ // are also evaluated only once. This is similar to desugaring for
// postfix expressions like `i++`.
// Handle the left hand side, to ensure each of its subexpressions are
@@ -4386,7 +4386,7 @@ class CodeGenerator extends Object
// If the consumer of the expression is '==' or '!=' with a constant that
// fits in 31 bits, adding a coercion does not change the result of the
- // comparision, e.g. `a & ~b == 0`.
+ // comparison, e.g. `a & ~b == 0`.
if (parent is BinaryExpression) {
var tokenType = parent.operator.type;
Expression left = parent.leftOperand;
« no previous file with comments | « pkg/dev_compiler/doc/GENERIC_METHODS.md ('k') | pkg/dev_compiler/test/codegen/BenchmarkBase.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698