@@ -133,10 +133,10 @@ class BacktrackingSolver {
133
133
/// packages.
134
134
final _forceLatest = new Set<String>();
135
135
136
- /// The set of packages whose dependecy is being overridden by the root
136
+ /// The set of packages whose dependency is being overridden by the root
137
137
/// package, keyed by the name of the package.
138
138
///
139
- /// Any dependency on a package that appears in this map will be overriden
139
+ /// Any dependency on a package that appears in this map will be overridden
140
140
/// to use the one here.
141
141
final _overrides = new Map<String, PackageDep>();
142
142
@@ -274,8 +274,8 @@ class BacktrackingSolver {
274
274
/// Generates a map containing all of the known available versions for each
275
275
/// package in [packages].
276
276
///
277
- /// The version list may not always be complete. The the package is the root
278
- /// root package, or its a package that we didn't unlock while solving
277
+ /// The version list may not always be complete. The package is the root
278
+ /// root package, or it's a package that we didn't unlock while solving
279
279
/// because we weren't trying to upgrade it, we will just know the current
280
280
/// version.
281
281
Map<String, List<Version>> _getAvailableVersions(List<PackageId> packages) {
@@ -301,15 +301,15 @@ class BacktrackingSolver {
301
301
/// package, to the set of versions to consider for solutions.
302
302
///
303
303
/// The first item in the list will be the currently selected version of that
304
- /// package. Subsequent items will be tried if it the current selection fails.
304
+ /// package. Subsequent items will be tried if the current selection fails.
305
305
/// Returns the first selected version.
306
306
PackageId select(VersionQueue versions) {
307
307
_selected.add(versions);
308
308
logSolve();
309
309
return versions.current;
310
310
}
311
311
312
- /// Returns the the currently selected id for the package [name] or `null` if
312
+ /// Returns the currently selected id for the package [name] or `null` if
313
313
/// no concrete version has been selected for that package yet.
314
314
PackageId getSelected(String name) {
315
315
// Always prefer the root package.
@@ -645,7 +645,7 @@ class Traverser {
645
645
646
646
/// Traverses the references that [depender] depends on, stored in [deps].
647
647
///
648
- /// Desctructively modifies [deps]. Completes to a list of packages if the
648
+ /// Destructively modifies [deps]. Completes to a list of packages if the
649
649
/// traversal is complete. Completes it to an error if a failure occurred.
650
650
/// Otherwise, recurses.
651
651
Future<List<PackageId>> _traverseDeps(PackageId depender,
0 commit comments