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

Side by Side Diff: tests/compiler/dart2js/analyze_unused_dart2js_test.dart

Issue 1258243002: Expose getter and setter invocations by name, in dart2js 'World'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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/universe/universe.dart ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 analyze_unused_dart2js; 5 library analyze_unused_dart2js;
6 6
7 import 'package:async_helper/async_helper.dart'; 7 import 'package:async_helper/async_helper.dart';
8 8
9 import 'package:compiler/src/dart2jslib.dart'; 9 import 'package:compiler/src/dart2jslib.dart';
10 import 'package:compiler/src/filenames.dart'; 10 import 'package:compiler/src/filenames.dart';
(...skipping 29 matching lines...) Expand all
40 40
41 // Serialization code is only used in test. 41 // Serialization code is only used in test.
42 "lib/src/serialization/": const [ 42 "lib/src/serialization/": const [
43 "is never"], 43 "is never"],
44 44
45 // Nested functions are currently kept alive in the IR. 45 // Nested functions are currently kept alive in the IR.
46 "lib/src/tree_ir/": const [ 46 "lib/src/tree_ir/": const [
47 "accept", "FunctionExpression", "CreateFunction" 47 "accept", "FunctionExpression", "CreateFunction"
48 ], 48 ],
49 49
50 "lib/src/universe/universe.dart": const [
51 "The method 'getterInvocationsByName' is never called.",
52 "The method 'setterInvocationsByName' is never called."],
53
50 "lib/src/cps_ir/": const [ 54 "lib/src/cps_ir/": const [
51 "accept", "CreateFunction", 55 "accept", "CreateFunction",
52 ], 56 ],
53 57
54 "/lib/src/dart_backend/backend_ast_to_frontend_ast.dart": const [ 58 "/lib/src/dart_backend/backend_ast_to_frontend_ast.dart": const [
55 " is never " 59 " is never "
56 ], 60 ],
57 }; 61 };
58 62
59 void main() { 63 void main() {
(...skipping 22 matching lines...) Expand all
82 } else if (member.isTypedef) { 86 } else if (member.isTypedef) {
83 if (member.isResolved) { 87 if (member.isResolved) {
84 compiler.reportHint(member, MessageKind.GENERIC, 88 compiler.reportHint(member, MessageKind.GENERIC,
85 {'text': "Helper typedef in production code '$member'."}); 89 {'text': "Helper typedef in production code '$member'."});
86 } 90 }
87 } 91 }
88 } 92 }
89 compiler.libraryLoader.lookupLibrary(helperUri).forEachLocalMember(checkLive); 93 compiler.libraryLoader.lookupLibrary(helperUri).forEachLocalMember(checkLive);
90 return handler.checkResults(); 94 return handler.checkResults();
91 } 95 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/universe.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698