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

Side by Side Diff: dart/tests/try/poi/forget_element_test.dart

Issue 710043003: Forget aliasedSuperMembers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r41769 Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « dart/pkg/compiler/lib/src/js_backend/backend.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Test of Compiler.forgetElement. 5 // Test of Compiler.forgetElement.
6 library trydart.forget_element_test; 6 library trydart.forget_element_test;
7 7
8 import 'package:compiler/src/elements/elements.dart' show 8 import 'package:compiler/src/elements/elements.dart' show
9 AstElement, 9 AstElement,
10 ClassElement, 10 ClassElement,
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 393
394 // Test that a constant in a parameter initializer is discarded 394 // Test that a constant in a parameter initializer is discarded
395 // correctly (deeply nested function). 395 // correctly (deeply nested function).
396 new ForgetElementTestCase( 396 new ForgetElementTestCase(
397 'main() => (() => (([x = const Constant()]) => x)())();' 397 'main() => (() => (([x = const Constant()]) => x)())();'
398 ' $CONSTANT_CLASS', 398 ' $CONSTANT_CLASS',
399 closureCount: 2, 399 closureCount: 2,
400 constantCount: 1, 400 constantCount: 1,
401 initialValueCount: 1), 401 initialValueCount: 1),
402 402
403 // TODO(ahe): Add test for super sends [backend.aliasedSuperMembers].
403 ]..addAll(assertUnimplementedLocalMetadata()); 404 ]..addAll(assertUnimplementedLocalMetadata());
OLDNEW
« no previous file with comments | « dart/pkg/compiler/lib/src/js_backend/backend.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698