Version 2.18.0-22.0.dev
Merge commit '769929130409e270cd3f1fe7bb4ca7d90698028f' into 'dev'
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart
index a84c7ec..1246953 100644
--- a/pkg/analyzer/lib/dart/element/element.dart
+++ b/pkg/analyzer/lib/dart/element/element.dart
@@ -1523,9 +1523,11 @@
/// parameters are always positional, unless the experiment 'non-nullable' is
/// enabled, in which case named parameters can also be required.
///
- /// Note: regardless of the state of the 'non-nullable' experiment, this will
- /// return `false` for a named parameter that is annotated with the
- /// `@required` annotation.
+ /// Note: regardless of the state of the 'non-nullable' experiment, the
+ /// presence or absence of the `@required` annotation does not change the
+ /// meaning of this getter. The parameter `{@required int x}` will return
+ /// `false` and the parameter `{@required required int x}` will return
+ /// `true`
// TODO(brianwilkerson) Rename this to `isRequired`.
bool get isNotOptional;
diff --git a/tools/VERSION b/tools/VERSION
index 3e0b84e..e3b18d0 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 18
PATCH 0
-PRERELEASE 21
+PRERELEASE 22
PRERELEASE_PATCH 0
\ No newline at end of file