Index: pkg/analysis_server/lib/src/services/correction/util.dart |
diff --git a/pkg/analysis_server/lib/src/services/correction/util.dart b/pkg/analysis_server/lib/src/services/correction/util.dart |
index a3c772f58fc3c9b56d73d6483603409def90a530..414765de04d6a61544c05152e96876b9ff700983 100644 |
--- a/pkg/analysis_server/lib/src/services/correction/util.dart |
+++ b/pkg/analysis_server/lib/src/services/correction/util.dart |
@@ -13,8 +13,9 @@ import 'package:analysis_server/src/protocol_server.dart' |
import 'package:analysis_server/src/services/correction/source_range.dart'; |
import 'package:analysis_server/src/services/correction/strings.dart'; |
import 'package:analysis_server/src/services/search/element_visitors.dart'; |
+import 'package:analyzer/dart/element/element.dart'; |
+import 'package:analyzer/dart/element/type.dart'; |
import 'package:analyzer/src/generated/ast.dart'; |
-import 'package:analyzer/src/generated/element.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer/src/generated/resolver.dart'; |
import 'package:analyzer/src/generated/scanner.dart'; |
@@ -1299,11 +1300,9 @@ class CorrectionUtils { |
String expressionSource = getNodeText(isExpression.expression); |
String typeSource = getNodeText(isExpression.type); |
if (isExpression.notOperator == null) { |
- return _InvertedCondition |
- ._simple("$expressionSource is! $typeSource"); |
+ return _InvertedCondition._simple("$expressionSource is! $typeSource"); |
} else { |
- return _InvertedCondition |
- ._simple("$expressionSource is $typeSource"); |
+ return _InvertedCondition._simple("$expressionSource is $typeSource"); |
} |
} |
if (expression is PrefixExpression) { |