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

Side by Side Diff: pkg/compiler/lib/src/typechecker.dart

Issue 2239193002: Rerun formatter (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/types/union_type_mask.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 4
5 library dart2js.typechecker; 5 library dart2js.typechecker;
6 6
7 import 'common/names.dart' show Identifiers; 7 import 'common/names.dart' show Identifiers;
8 import 'common/resolution.dart' show Resolution; 8 import 'common/resolution.dart' show Resolution;
9 import 'common/tasks.dart' show CompilerTask; 9 import 'common/tasks.dart' show CompilerTask;
10 import 'common.dart'; 10 import 'common.dart';
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 node, 808 node,
809 MessageKind.PRIVATE_ACCESS, 809 MessageKind.PRIVATE_ACCESS,
810 { 810 {
811 'name': name, 811 'name': name,
812 'libraryName': privateName.library.libraryOrScriptName 812 'libraryName': privateName.library.libraryOrScriptName
813 }, 813 },
814 isHint: isHint); 814 isHint: isHint);
815 foundPrivateMember = true; 815 foundPrivateMember = true;
816 } 816 }
817 } 817 }
818
818 // TODO(johnniwinther): Avoid computation of all class members. 819 // TODO(johnniwinther): Avoid computation of all class members.
819 MembersCreator.computeAllClassMembers(resolution, interface.element); 820 MembersCreator.computeAllClassMembers(resolution, interface.element);
820 if (lookupClassMember) { 821 if (lookupClassMember) {
821 interface.element.forEachClassMember(findPrivateMember); 822 interface.element.forEachClassMember(findPrivateMember);
822 } else { 823 } else {
823 interface.element.forEachInterfaceMember(findPrivateMember); 824 interface.element.forEachInterfaceMember(findPrivateMember);
824 } 825 }
825 } 826 }
826 if (!foundPrivateMember) { 827 if (!foundPrivateMember) {
827 switch (memberKind) { 828 switch (memberKind) {
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
2027 2028
2028 visitTypedef(Typedef node) { 2029 visitTypedef(Typedef node) {
2029 // Do not typecheck [Typedef] nodes. 2030 // Do not typecheck [Typedef] nodes.
2030 } 2031 }
2031 2032
2032 visitNode(Node node) { 2033 visitNode(Node node) {
2033 reporter.internalError(node, 2034 reporter.internalError(node,
2034 'Unexpected node ${node.getObjectDescription()} in the type checker.'); 2035 'Unexpected node ${node.getObjectDescription()} in the type checker.');
2035 } 2036 }
2036 } 2037 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/types/union_type_mask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698