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

Unified Diff: lib/src/dart_sdk.dart

Issue 1830403002: switch package to strong mode (Closed) Base URL: git@github.com:dart-lang/code_transformers.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « lib/src/async_benchmark_base.dart ('k') | lib/src/resolver_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/dart_sdk.dart
diff --git a/lib/src/dart_sdk.dart b/lib/src/dart_sdk.dart
index 4889f5552833bed15288386e622e7877b11afaf5..63dfa0fe8f77db463b3d702a82c72725a90f2a27 100644
--- a/lib/src/dart_sdk.dart
+++ b/lib/src/dart_sdk.dart
@@ -8,7 +8,8 @@ import 'dart:io' show Directory;
/// Note that the Analyzer has two versions of SdkAnalysisContext (and lots of
/// other classes) with different signatures: can't mix the two.
-import 'package:analyzer/src/generated/engine.dart' show InternalAnalysisContext, TimestampedData;
+import 'package:analyzer/src/generated/engine.dart'
+ show InternalAnalysisContext, TimestampedData;
import 'package:analyzer/src/context/context.dart' show SdkAnalysisContext;
import 'package:analyzer/src/generated/java_io.dart';
import 'package:analyzer/src/generated/sdk.dart';
@@ -65,7 +66,6 @@ class DartUriResolverProxy implements DartUriResolver {
/// This is primarily to support [Resolver.getImportUri] for Dart SDK (dart:)
/// based libraries.
class DartSourceProxy implements UriAnnotatedSource {
-
/// Absolute URI which this source can be imported from
final Uri uri;
@@ -204,6 +204,8 @@ class _MockSdkSource implements UriAnnotatedSource {
Uri resolveRelativeUri(Uri relativeUri) =>
throw new UnsupportedError('not expecting relative urls in dart: mocks');
+
+ bool operator ==(Object other) => identical(this, other);
}
/// Sample mock SDK sources.
« no previous file with comments | « lib/src/async_benchmark_base.dart ('k') | lib/src/resolver_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698