mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:29:48 +00:00
Remove unused argument allowNullableDereference
Change-Id: I921344bbfe137c376b5b2314a5c82bb2c2bde128 Reviewed-on: https://dart-review.googlesource.com/c/91111 Auto-Submit: Paul Berry <paulberry@google.com> Commit-Queue: Mike Fairhurst <mfairhurst@google.com> Reviewed-by: Mike Fairhurst <mfairhurst@google.com>
This commit is contained in:
parent
f8fef94243
commit
983b77dda7
|
@ -4554,8 +4554,7 @@ class ErrorVerifier extends RecursiveAstVisitor<void> {
|
|||
*
|
||||
* See [StaticWarningCode.UNCHECKED_USE_OF_NULLABLE_VALUE]
|
||||
*/
|
||||
bool _checkForNullableDereference(Expression expression,
|
||||
{bool allowNullableDereference = false}) {
|
||||
bool _checkForNullableDereference(Expression expression) {
|
||||
if (expression == null ||
|
||||
!_options.experimentStatus.non_nullable ||
|
||||
(expression.staticType as TypeImpl).nullability !=
|
||||
|
|
Loading…
Reference in a new issue