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

Unified Diff: tests/compiler/dart2js/find_my_name_test.dart

Issue 368833002: Cleanup warnings in unit tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix outdated type annotations. Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/exit_code_test.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/find_my_name_test.dart
diff --git a/tests/compiler/dart2js/find_my_name_test.dart b/tests/compiler/dart2js/find_my_name_test.dart
index 4fbdfb0d934b21c1a077bf5835b0a246aa4ebcc0..bd46c30374ba8ef9fc69ea6d684b022b5fac8a32 100644
--- a/tests/compiler/dart2js/find_my_name_test.dart
+++ b/tests/compiler/dart2js/find_my_name_test.dart
@@ -7,6 +7,7 @@ import "package:async_helper/async_helper.dart";
import "package:compiler/implementation/elements/elements.dart";
import "mock_compiler.dart";
import "parser_helper.dart";
+import 'package:compiler/implementation/elements/modelx.dart';
String TEST_0 = '''
class Foo {
@@ -34,7 +35,7 @@ main() {
testClass(String code, MockCompiler compiler) {
int skip = code.indexOf('{');
- ClassElement cls = parseUnit(code, compiler, compiler.mainApp).head;
+ ClassElementX cls = parseUnit(code, compiler, compiler.mainApp).head;
cls.parseNode(compiler);
cls.forEachLocalMember((Element e) {
String name = e.name;
« no previous file with comments | « tests/compiler/dart2js/exit_code_test.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698