Skip to content

Commit 8bbe6fb

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Report analyzer_use_new_elements without any txt file, add file ignores.
Change-Id: I13125f93a6633563ed6853a622bd9fec045bfc0c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403923 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent dc37a77 commit 8bbe6fb

File tree

209 files changed

+393
-310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+393
-310
lines changed

pkg/analysis_server/analyzer_use_new_elements.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

pkg/analysis_server/lib/plugin/protocol/protocol_dart.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
/// Utilities for converting Dart entities into analysis server's protocol
68
/// entities.
79
library;

pkg/analysis_server/lib/src/analysis_server.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'dart:async';
68
import 'dart:io' as io;
79
import 'dart:io';

pkg/analysis_server/lib/src/cider/rename.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'package:analysis_server/src/protocol_server.dart' hide Element;
68
import 'package:analysis_server/src/services/correction/status.dart';
79
import 'package:analysis_server/src/services/correction/util.dart';

pkg/analysis_server/lib/src/handler/legacy/search_find_element_references.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'dart:async';
68

79
import 'package:analysis_server/plugin/protocol/protocol_dart.dart' as protocol;

pkg/analysis_server/lib/src/lsp/handlers/handler_rename.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'package:analysis_server/lsp_protocol/protocol.dart' hide MessageType;
68
import 'package:analysis_server/src/analysis_server.dart' show MessageType;
79
import 'package:analysis_server/src/lsp/client_capabilities.dart';

pkg/analysis_server/lib/src/protocol_server.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'package:analysis_server/plugin/protocol/protocol_dart.dart';
68
import 'package:analysis_server/protocol/protocol_generated.dart';
79
import 'package:analysis_server/src/computer/computer_color.dart';

pkg/analysis_server/lib/src/services/correction/namespace.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'package:analyzer/dart/ast/ast.dart';
68
import 'package:analyzer/dart/element/element.dart';
79
import 'package:analyzer/dart/element/element2.dart';

pkg/analysis_server/lib/src/services/kythe/kythe_visitors.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'package:analyzer/dart/element/element.dart';
68
import 'package:analyzer/dart/element/visitor.dart';
79
import 'package:analyzer/file_system/file_system.dart';

pkg/analysis_server/lib/src/services/refactoring/legacy/extract_method.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: analyzer_use_new_elements
6+
57
import 'package:analysis_server/src/protocol_server.dart' hide Element;
68
import 'package:analysis_server/src/services/correction/name_suggestion.dart';
79
import 'package:analysis_server/src/services/correction/selection_analyzer.dart';

0 commit comments

Comments
 (0)