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

Unified Diff: sdk/lib/_internal/js_runtime/lib/js_names.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
Index: sdk/lib/_internal/js_runtime/lib/js_names.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/js_names.dart b/sdk/lib/_internal/js_runtime/lib/js_names.dart
index 4c58872537cd22b97074d9eea5544c59d3f54e7e..d3eaa07688e37f41e02ed26790a8332c25cbb1ad 100644
--- a/sdk/lib/_internal/js_runtime/lib/js_names.dart
+++ b/sdk/lib/_internal/js_runtime/lib/js_names.dart
@@ -51,7 +51,7 @@ class _LazyMangledNamesMap {
String operator [](String key) {
var result = JS('var', '#[#]', _jsMangledNames, key);
// Filter out all non-string values to protect against polution from
- // ancilliary fields in [_jsMangledNames].
+ // ancillary fields in [_jsMangledNames].
bool filter = JS('bool', 'typeof # !== "string"', result);
// To ensure that the inferrer sees that result is a String, we explicitly
// give it a better type here.
@@ -105,7 +105,7 @@ class _LazyReflectiveNamesMap {
for (String key in keys) {
var reflectiveName = JS('var', '#[#]', _jsMangledNames, key);
// Filter out all non-string values to protect against polution from
- // ancilliary fields in [_jsMangledNames].
+ // ancillary fields in [_jsMangledNames].
bool filter = JS('bool', 'typeof # !== "string"', reflectiveName);
if (filter) continue;
result[reflectiveName] = JS('String', '#', key);
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_mirrors.dart ('k') | sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698