| Index: sdk/lib/_internal/pub/lib/src/validator/dependency.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/validator/dependency.dart b/sdk/lib/_internal/pub/lib/src/validator/dependency.dart
|
| index 0f06d3f637a8a36bacddc3b63ed5fac67cdd6bd0..c341e33cd38b8c3ed36d6c1b18fa7b1727513127 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/validator/dependency.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/validator/dependency.dart
|
| @@ -90,7 +90,7 @@ class DependencyValidator extends Validator {
|
| 'future versions of "${dep.name}".');
|
| }
|
|
|
| - // Warn that dependencies should allow more than a single version.
|
| + /// Warn that dependencies should allow more than a single version.
|
| void _warnAboutSingleVersionConstraint(PackageDep dep) {
|
| warnings.add(
|
| 'Your dependency on "${dep.name}" should allow more than one version. '
|
| @@ -104,7 +104,7 @@ class DependencyValidator extends Validator {
|
| 'along with other packages that also depend on "${dep.name}".');
|
| }
|
|
|
| - // Warn that dependencies should have lower bounds on their constraints.
|
| + /// Warn that dependencies should have lower bounds on their constraints.
|
| void _warnAboutNoConstraintLowerBound(PackageDep dep) {
|
| var message = 'Your dependency on "${dep.name}" should have a lower bound.';
|
| var locked = entrypoint.loadLockFile().packages[dep.name];
|
| @@ -126,7 +126,7 @@ class DependencyValidator extends Validator {
|
| 'previous versions of "${dep.name}".');
|
| }
|
|
|
| - // Warn that dependencies should have upper bounds on their constraints.
|
| + /// Warn that dependencies should have upper bounds on their constraints.
|
| void _warnAboutNoConstraintUpperBound(PackageDep dep) {
|
| warnings.add(
|
| 'Your dependency on "${dep.name}" should have an upper bound. For '
|
|
|