| Index: tests/compiler/dart2js/mock_compiler.dart
|
| diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
|
| index f38f38956a7dfc4260ab44a424a16c28234657a0..5c53c74b4e6ab09477e6b832b192bc8f0085ff95 100644
|
| --- a/tests/compiler/dart2js/mock_compiler.dart
|
| +++ b/tests/compiler/dart2js/mock_compiler.dart
|
| @@ -62,7 +62,6 @@ class MockCompiler extends Compiler {
|
| final int expectedErrors;
|
| final Map<String, SourceFile> sourceFiles;
|
| Node parsedTree;
|
| - final String testedPatchVersion;
|
| final LibrarySourceProvider librariesOverride;
|
| final DiagnosticCollector diagnosticCollector = new DiagnosticCollector();
|
| final ResolvedUriTranslator resolvedUriTranslator =
|
| @@ -87,10 +86,8 @@ class MockCompiler extends Compiler {
|
| int this.expectedWarnings,
|
| int this.expectedErrors,
|
| api.CompilerOutput outputProvider,
|
| - String patchVersion,
|
| LibrarySourceProvider this.librariesOverride})
|
| : sourceFiles = new Map<String, SourceFile>(),
|
| - testedPatchVersion = patchVersion,
|
| super(
|
| options: new CompilerOptions(
|
| entryPoint: new Uri(scheme: 'mock'),
|
| @@ -135,10 +132,6 @@ class MockCompiler extends Compiler {
|
| buildLibrarySource(DEFAULT_LOOKUP_MAP_LIBRARY));
|
| }
|
|
|
| - String get patchVersion {
|
| - return testedPatchVersion != null ? testedPatchVersion : super.patchVersion;
|
| - }
|
| -
|
| /// Initialize the mock compiler with an empty main library.
|
| Future<Uri> init([String mainSource = ""]) {
|
| Uri uri = new Uri(scheme: "mock");
|
|
|