Index: pkg/meta/lib/meta.dart |
diff --git a/pkg/meta/lib/meta.dart b/pkg/meta/lib/meta.dart |
index 17f7f1f6d86b6d4cdbd1f1d291f13ad10b168b82..3df240e0e095cef4d8713770e225b754e36f1c06 100644 |
--- a/pkg/meta/lib/meta.dart |
+++ b/pkg/meta/lib/meta.dart |
@@ -18,17 +18,15 @@ |
/// in the language tour. |
library meta; |
-/// Used to annotate an instance method `m`. Indicates that `m` must either be |
-/// abstract or must return a newly allocated object. In addition, every method |
-/// that either implements or overrides `m` is implicitly annotated with this |
-/// same annotation. |
+/// Used to annotate an instance or static method `m`. Indicates that `m` must |
+/// either be abstract or must return a newly allocated object or `null`. In |
+/// addition, every method that either implements or overrides `m` is implicitly |
+/// annotated with this same annotation. |
/// |
/// Tools, such as the analyzer, can provide feedback if |
/// |
-/// * the annotation is associated with anything other than an instance method, |
-/// or |
-/// * a method that has this annotation that can return anything other than a |
-/// newly allocated object. |
+/// * the annotation is associated with a method that has this annotation that |
+/// can return anything other than a newly allocated object or null. |
Brian Wilkerson
2016/06/21 22:28:15
"null" --> "`null`"
Also, restore a variation on
pquitslund
2016/06/21 22:33:36
Done.
|
const _Factory factory = const _Factory(); |
/// Used to annotate a const constructor `c`. Indicates that any invocation of |