Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: pkg/kernel/lib/analyzer/ast_from_analyzer.dart

Issue 2530543002: Fix the pubspec and warnings in pkg/kernel. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 library kernel.analyzer.ast_from_analyzer; 4 library kernel.analyzer.ast_from_analyzer;
5 5
6 import '../ast.dart' as ast; 6 import '../ast.dart' as ast;
7 import '../frontend/accessors.dart'; 7 import '../frontend/accessors.dart';
8 import '../frontend/super_initializers.dart'; 8 import '../frontend/super_initializers.dart';
9 import '../log.dart'; 9 import '../log.dart';
10 import '../type_algebra.dart'; 10 import '../type_algebra.dart';
11 import '../transformations/flags.dart'; 11 import '../transformations/flags.dart';
12 import 'analyzer.dart'; 12 import 'analyzer.dart';
13 import 'loader.dart'; 13 import 'loader.dart';
14 import 'package:analyzer/analyzer.dart'; 14 import 'package:analyzer/analyzer.dart';
15 import 'package:analyzer/src/generated/parser.dart'; 15 import 'package:analyzer/src/generated/parser.dart';
16 import 'package:analyzer/src/dart/element/member.dart'; 16 import 'package:analyzer/src/dart/element/member.dart';
17 import 'package:analyzer/src/error/codes.dart';
17 18
18 /// Provides reference-level access to libraries, classes, and members. 19 /// Provides reference-level access to libraries, classes, and members.
19 /// 20 ///
20 /// "Reference level" objects are incomplete nodes that have no children but 21 /// "Reference level" objects are incomplete nodes that have no children but
21 /// can be used for linking until the loader promotes the node to a higher 22 /// can be used for linking until the loader promotes the node to a higher
22 /// loading level. 23 /// loading level.
23 /// 24 ///
24 /// The [ReferenceScope] is the most restrictive scope in a hierarchy of scopes 25 /// The [ReferenceScope] is the most restrictive scope in a hierarchy of scopes
25 /// that provide increasing amounts of contextual information. [TypeScope] is 26 /// that provide increasing amounts of contextual information. [TypeScope] is
26 /// used when type parameters might be in scope, and [MemberScope] is used when 27 /// used when type parameters might be in scope, and [MemberScope] is used when
(...skipping 2775 matching lines...) Expand 10 before | Expand all | Expand 10 after
2802 if (list[i - 1].compareTo(item) == 0) { 2803 if (list[i - 1].compareTo(item) == 0) {
2803 ++deleted; 2804 ++deleted;
2804 } else if (deleted > 0) { 2805 } else if (deleted > 0) {
2805 list[i - deleted] = item; 2806 list[i - deleted] = item;
2806 } 2807 }
2807 } 2808 }
2808 if (deleted > 0) { 2809 if (deleted > 0) {
2809 list.length -= deleted; 2810 list.length -= deleted;
2810 } 2811 }
2811 } 2812 }
OLDNEW
« no previous file with comments | « no previous file | pkg/kernel/lib/analyzer/loader.dart » ('j') | pkg/kernel/test/treeshaker_stacktracer.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698