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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/preprocess.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/pub_generated/lib/src/preprocess.dart
diff --git a/sdk/lib/_internal/pub/lib/src/preprocess.dart b/sdk/lib/_internal/pub_generated/lib/src/preprocess.dart
similarity index 98%
copy from sdk/lib/_internal/pub/lib/src/preprocess.dart
copy to sdk/lib/_internal/pub_generated/lib/src/preprocess.dart
index a77b9bd2351fd802c650f16bec0f799d73adcc6c..bf05f89fae1cdd0e320db0f7379a006b4987c423 100644
--- a/sdk/lib/_internal/pub/lib/src/preprocess.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/preprocess.dart
@@ -116,7 +116,8 @@ class _Preprocessor {
}
_scanner.expect("\n");
- var allowed = _versions.containsKey(package) &&
+ var allowed =
+ _versions.containsKey(package) &&
constraint.allows(_versions[package]);
if (allowed) {
_emitText();
« no previous file with comments | « sdk/lib/_internal/pub_generated/lib/src/package_graph.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/progress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698