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

Unified Diff: compiler/java/com/google/dart/compiler/SystemLibraryManager.java

Issue 8786002: Check that interface constructors and default class constructors are compatible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check that types of constructors parameters are identical Created 9 years 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: compiler/java/com/google/dart/compiler/SystemLibraryManager.java
diff --git a/compiler/java/com/google/dart/compiler/SystemLibraryManager.java b/compiler/java/com/google/dart/compiler/SystemLibraryManager.java
index d7d946d29c8ebee61acb762605ffbc98747f0bce..2bc54f236d215f1ee3d898daa72d7e4da943b357 100644
--- a/compiler/java/com/google/dart/compiler/SystemLibraryManager.java
+++ b/compiler/java/com/google/dart/compiler/SystemLibraryManager.java
@@ -110,13 +110,13 @@ public class SystemLibraryManager {
}
/**
- * Expand a relative or short URI (e.g. "dart:dom") which is implementation independent
- * to its full URI (e.g. "dart://dom/com/google/dart/domlib/dom.dart")
- *
- * @param uri the relative URI
- * @return the expanded URI or the original URI if it could not be expanded
- * @exception RuntimeException if the short URI is of the form "dart:<libname>"
- * but does not correspond to a system library
+ * Expand a relative or short URI (e.g. "dart:dom") which is implementation independent to its
+ * full URI (e.g. "dart://dom/com/google/dart/domlib/dom.dart")
+ *
+ * @param uri
zundel 2011/12/05 21:26:45 spurious n/l
scheglov 2011/12/06 14:20:39 Done.
+ * the relative URI
+ * @return the expanded URI, or the original URI if it could not be expanded, or <code>null</code>
+ * if original URI can not be resolved.
*/
public URI expandRelativeDartUri(URI uri) throws AssertionError {
if (isDartUri(uri)) {

Powered by Google App Engine
This is Rietveld 408576698