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

Unified Diff: pkg/analyzer/test/generated/test_support.dart

Issue 2503803003: Revert "Connect analyzer's AnalysisError object to front_end's CompilationError." (Closed)
Patch Set: Created 4 years, 1 month 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 | « pkg/analyzer/test/generated/error_test.dart ('k') | pkg/front_end/lib/compilation_error.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/test_support.dart
diff --git a/pkg/analyzer/test/generated/test_support.dart b/pkg/analyzer/test/generated/test_support.dart
index 06f47e59679575e6c8cb194fea92fdf6c0942482..ce0b3f0af6ee8fe840f397c95103f2938d675e46 100644
--- a/pkg/analyzer/test/generated/test_support.dart
+++ b/pkg/analyzer/test/generated/test_support.dart
@@ -18,7 +18,6 @@ import 'package:analyzer/src/generated/java_engine.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:plugin/manager.dart';
import 'package:plugin/plugin.dart';
-import 'package:source_span/source_span.dart' as source_span;
import 'package:test/test.dart';
import 'analysis_context_factory.dart';
@@ -545,8 +544,6 @@ class TestSource extends Source {
int _modificationStamp = 0;
bool exists2 = true;
- source_span.SourceFile _sourceFile;
-
/**
* A flag indicating whether an exception should be generated when an attempt
* is made to access the contents of this source.
@@ -589,10 +586,6 @@ class TestSource extends Source {
return _name;
}
- @override
- source_span.SourceFile get sourceFile =>
- _sourceFile ??= new source_span.SourceFile(_contents, url: uri);
-
Uri get uri => new Uri.file(_name);
UriKind get uriKind {
« no previous file with comments | « pkg/analyzer/test/generated/error_test.dart ('k') | pkg/front_end/lib/compilation_error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698