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

Unified Diff: tests/language/closure_type_test.dart

Issue 166433002: Revert "Fix language tests wrt. warnings." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/language/class_literal_test.dart ('k') | tests/language/compile_time_constant_k_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/closure_type_test.dart
diff --git a/tests/language/closure_type_test.dart b/tests/language/closure_type_test.dart
index 5b8eea2640a9db822059475671315535aa7df679..59d11de19e588c24d0588aabca4491e2987f329c 100644
--- a/tests/language/closure_type_test.dart
+++ b/tests/language/closure_type_test.dart
@@ -1,7 +1,6 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-
// Dart test for a closure result type test that cannot be eliminated at compile
// time.
@@ -10,9 +9,7 @@ import "package:expect/expect.dart";
import 'dart:math' as math;
class Math {
- static
- int /// 01: static type warning
- sqrt(x) => math.sqrt(x);
+ static int sqrt(x) => math.sqrt(x);
}
isCheckedMode() {
« no previous file with comments | « tests/language/class_literal_test.dart ('k') | tests/language/compile_time_constant_k_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698