Index: sdk/lib/mirrors/mirrors.dart |
diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart |
index d16e62eecb7fc4e63e4518e7ffd4398b8c562fda..a52bc8802df41beef26cbbe2ef48327bdcf52979 100644 |
--- a/sdk/lib/mirrors/mirrors.dart |
+++ b/sdk/lib/mirrors/mirrors.dart |
@@ -286,9 +286,10 @@ abstract class DeclarationMirror implements Mirror { |
bool get isTopLevel; |
/** |
- * The source location of this Dart language entity. |
+ * The source location of this Dart language entity, or [:null:] if the |
+ * entity is synthetic. |
* |
- * This operation is optional and may return [:null:]. |
+ * This operation is optional and may throw an [UnsupportedError]. |
*/ |
gbracha
2015/02/13 03:00:57
So we probably should tighten the specification fo
rmacnak
2015/02/13 20:46:34
A library might not have a 'library foo' declarati
|
SourceLocation get location; |