Chromium Code Reviews| Index: pkg/analyzer/lib/src/generated/sdk_io.dart |
| diff --git a/pkg/analyzer/lib/src/generated/sdk_io.dart b/pkg/analyzer/lib/src/generated/sdk_io.dart |
| index 404bd1e9a5408a0761f902d0f8560cecf017e7aa..31570ad2eac18d911157547a3b2432cdddc03804 100644 |
| --- a/pkg/analyzer/lib/src/generated/sdk_io.dart |
| +++ b/pkg/analyzer/lib/src/generated/sdk_io.dart |
| @@ -173,16 +173,9 @@ class DirectoryBasedDartSdk implements DartSdk { |
| * Initialize a newly created SDK to represent the Dart SDK installed in the given directory. |
| * |
| * @param sdkDirectory the directory containing the SDK |
| - */ |
| - DirectoryBasedDartSdk(JavaFile sdkDirectory) : this.con1(sdkDirectory, false); |
| - |
| - /** |
| - * Initialize a newly created SDK to represent the Dart SDK installed in the given directory. |
| - * |
| - * @param sdkDirectory the directory containing the SDK |
| * @param useDart2jsPaths `true` if the dart2js path should be used when it is available |
| */ |
| - DirectoryBasedDartSdk.con1(JavaFile sdkDirectory, bool useDart2jsPaths) { |
| + DirectoryBasedDartSdk(JavaFile sdkDirectory, [bool useDart2jsPaths = false]) { |
|
Brian Wilkerson
2014/03/09 23:43:15
Very cool!
|
| this._sdkDirectory = sdkDirectory.getAbsoluteFile(); |
| _initializeSdk(); |
| _initializeLibraryMap(useDart2jsPaths); |