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

Unified Diff: pkg/analyzer/lib/src/generated/sdk_io.dart

Issue 192303002: Support for @DartName and @DartOptional annotations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
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);

Powered by Google App Engine
This is Rietveld 408576698