mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
Ignore some uses of deprecated APIs.
BUG= Review-Url: https://codereview.chromium.org/2796483002 .
This commit is contained in:
parent
1f1854aa78
commit
3fd497b510
|
@ -1 +1 @@
|
|||
SDK repo
|
||||
sdk
|
|
@ -236,7 +236,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) {
|
|||
token = token.next;
|
||||
while (token != null) {
|
||||
tail.next = fromAnalyzerToken(token);
|
||||
tail.next.previousToken = tail;
|
||||
tail.next.previousToken = tail; // ignore: deprecated_member_use
|
||||
tail = tail.next;
|
||||
token = token.next;
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) {
|
|||
token.precedingCommentTokens =
|
||||
translateComments(analyzerToken.precedingComments);
|
||||
tokenTail.next = token;
|
||||
tokenTail.next.previousToken = tokenTail;
|
||||
tokenTail.next.previousToken = tokenTail; // ignore: deprecated_member_use
|
||||
tokenTail = token;
|
||||
matchGroups(analyzerToken, token);
|
||||
return analyzerToken.next;
|
||||
|
@ -258,7 +258,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) {
|
|||
// TODO(paulberry): join up begingroup/endgroup.
|
||||
if (analyzerToken.type == TokenType.EOF) {
|
||||
tokenTail.next = new SymbolToken.eof(analyzerToken.offset);
|
||||
tokenTail.next.previousToken = tokenTail;
|
||||
tokenTail.next.previousToken = tokenTail; // ignore: deprecated_member_use
|
||||
tokenTail.next.precedingCommentTokens =
|
||||
translateComments(analyzerToken.precedingComments);
|
||||
tokenTail.next.next = tokenTail.next;
|
||||
|
|
|
@ -25,7 +25,7 @@ import 'package:analyzer/src/generated/java_engine_io.dart';
|
|||
import 'package:analyzer/src/generated/java_io.dart';
|
||||
import 'package:analyzer/src/generated/resolver.dart';
|
||||
import 'package:analyzer/src/generated/sdk.dart';
|
||||
import 'package:analyzer/src/generated/sdk_io.dart';
|
||||
import 'package:analyzer/src/generated/sdk_io.dart'; // ignore: deprecated_member_use
|
||||
import 'package:analyzer/src/generated/source.dart';
|
||||
import 'package:analyzer/src/generated/source_io.dart';
|
||||
import 'package:analyzer/src/generated/testing/ast_test_factory.dart';
|
||||
|
|
|
@ -15,7 +15,7 @@ import 'checked_mode_compile_time_error_code_test.dart'
|
|||
import 'compile_time_error_code_driver_test.dart'
|
||||
as compile_time_error_code_driver_test;
|
||||
import 'compile_time_error_code_test.dart' as compile_time_error_code_test;
|
||||
import 'constant_test.dart' as constant_test;
|
||||
import 'constant_test.dart' as constant_test; // ignore: deprecated_member_use
|
||||
import 'declaration_resolver_test.dart' as declaration_resolver_test;
|
||||
import 'element_resolver_test.dart' as element_resolver_test;
|
||||
import 'engine_test.dart' as engine_test;
|
||||
|
|
|
@ -7,7 +7,7 @@ library analyzer.test.source.test_all;
|
|||
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
||||
|
||||
import 'analysis_options_provider_test.dart' as analysis_options_provider_test;
|
||||
import 'embedder_test.dart' as embedder_test;
|
||||
import 'embedder_test.dart' as embedder_test; // ignore: deprecated_member_use
|
||||
import 'error_processor_test.dart' as error_processor_test;
|
||||
import 'package_map_provider_test.dart' as package_map_provider_test;
|
||||
import 'package_map_resolver_test.dart' as package_map_resolver_test;
|
||||
|
|
Loading…
Reference in a new issue