| Index: pkg/analyzer/lib/src/task/strong/info.dart
|
| diff --git a/pkg/analyzer/lib/src/task/strong/info.dart b/pkg/analyzer/lib/src/task/strong/info.dart
|
| index 41703e12a13f9ba325536ab51ca59d45ff62c30c..39885cde81b47963bf1998efb2e7fa89710e752d 100644
|
| --- a/pkg/analyzer/lib/src/task/strong/info.dart
|
| +++ b/pkg/analyzer/lib/src/task/strong/info.dart
|
| @@ -212,10 +212,7 @@ class DynamicInvoke extends CoercionInfo {
|
| toErrorCode() => new HintCode(name, message);
|
|
|
| /// Whether this [node] is the target of a dynamic operation.
|
| - static bool get(AstNode node) {
|
| - var value = node.getProperty(_propertyName);
|
| - return value != null ? value : false;
|
| - }
|
| + static bool get(AstNode node) => node.getProperty(_propertyName) ?? false;
|
|
|
| /// Sets whether this node is the target of a dynamic operation.
|
| static bool set(AstNode node, bool value) {
|
|
|