Index: dart/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart |
diff --git a/dart/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart b/dart/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart |
index 5ff0d082aa54ab164f4c6703ee11d9ec93568ebc..a466c2cfc890b2582ea1075a2153e3a6d4152311 100644 |
--- a/dart/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart |
+++ b/dart/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart |
@@ -646,12 +646,6 @@ class Traverser { |
/// Ensures that if [pubspec] has an SDK constraint, then it is compatible |
/// with the current SDK. Throws a [SolveFailure] if not. |
void _validateSdkConstraint(Pubspec pubspec) { |
- // If the user is running a continouous build of the SDK, just disable SDK |
- // constraint checking entirely. The actual version number you get is |
- // impossibly old and not correct. We'll just assume users on continuous |
- // know what they're doing. |
- if (sdk.isBleedingEdge) return; |
- |
if (pubspec.environment.sdkVersion.allows(sdk.version)) return; |
throw new BadSdkVersionException(pubspec.name, |