|
5 | 5 | // DO NOT EDIT. This file was generated from async_import_cache.dart.
|
6 | 6 | // See tool/grind/synchronize.dart for details.
|
7 | 7 | //
|
8 |
| -// Checksum: f70eea612e1613ef93bad353803ad9479cda04aa |
| 8 | +// Checksum: 513b90d18d73e22feb5e743d67144c519d8e9bc4 |
9 | 9 | //
|
10 | 10 | // ignore_for_file: unused_import
|
11 | 11 |
|
@@ -63,7 +63,7 @@ final class ImportCache {
|
63 | 63 | <(Importer, Uri, {bool forImport}), CanonicalizeResult?>{};
|
64 | 64 |
|
65 | 65 | /// A map from the keys in [_perImporterCanonicalizeCache] that are generated
|
66 |
| - /// for relative URL loads agains the base importer to the original relative |
| 66 | + /// for relative URL loads against the base importer to the original relative |
67 | 67 | /// URLs what were loaded.
|
68 | 68 | ///
|
69 | 69 | /// This is used to invalidate the cache when files are changed.
|
@@ -171,11 +171,11 @@ final class ImportCache {
|
171 | 171 | var key = (url, forImport: forImport);
|
172 | 172 | if (_canonicalizeCache.containsKey(key)) return _canonicalizeCache[key];
|
173 | 173 |
|
174 |
| - // Each indivudal call to a `canonicalize()` override may not be cacheable |
| 174 | + // Each individual call to a `canonicalize()` override may not be cacheable |
175 | 175 | // (specifically, if it has access to `containingUrl` it's too
|
176 | 176 | // context-sensitive to usefully cache). We want to cache a given URL across
|
177 | 177 | // the _entire_ importer chain, so we use [cacheable] to track whether _all_
|
178 |
| - // `canonicalize()` calls we've attempted are cacheable. Only if they are do |
| 178 | + // `canonicalize()` calls we've attempted are cacheable. Only if they are, do |
179 | 179 | // we store the result in the cache.
|
180 | 180 | var cacheable = true;
|
181 | 181 | for (var i = 0; i < _importers.length; i++) {
|
|
0 commit comments