Index: pkg/meta/lib/meta.dart |
diff --git a/pkg/meta/lib/meta.dart b/pkg/meta/lib/meta.dart |
index b8142fda2ce7810a379346fb85e6ceedf4d8b3ea..ff0f9b0d87e23285d63fc6749f2a80501306e73c 100644 |
--- a/pkg/meta/lib/meta.dart |
+++ b/pkg/meta/lib/meta.dart |
@@ -24,6 +24,7 @@ library meta; |
/// 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 |
@@ -35,6 +36,7 @@ const _Factory factory = const _Factory(); |
/// arguments to the constructor is not a compile-time constant. |
/// |
/// Tools, such as the analyzer, can provide feedback if |
+/// |
/// * the annotation is associated with anything other than a const constructor, |
/// or |
/// * an invocation of a constructor that has this annotation is not invoked |
@@ -50,6 +52,7 @@ const _Literal literal = const _Literal(); |
/// outside of the library that defines the annotated method. |
/// |
/// Tools, such as the analyzer, can provide feedback if |
+/// |
/// * the annotation is associated with anything other than an instance method, |
/// or |
/// * a method that overrides a method that has this annotation can return |
@@ -70,6 +73,7 @@ const _OptionalTypeArgs optionalTypeArgs = const _OptionalTypeArgs(); |
/// that `m` should only be invoked on `this`, whether explicitly or implicitly. |
/// |
/// Tools, such as the analyzer, can provide feedback if |
+/// |
/// * the annotation is associated with anything other than an instance member, |
/// or |
/// * an invocation of a member that has this annotation is used outside of an |
@@ -84,6 +88,7 @@ const _Protected protected = const _Protected(); |
/// optional parameter. |
/// |
/// Tools, such as the analyzer, can provide feedback if |
+/// |
/// * the annotation is associated with anything other than a named parameter, |
/// * the annotation is associated with a named parameter in a method `m1` that |
/// overrides a method `m0` and `m0` defines a named parameter with the same |