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

Unified Diff: tests/language/crash_6725_part.dart

Issue 158733003: 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
Index: tests/language/crash_6725_part.dart
diff --git a/tests/language/crash_6725_test.dart b/tests/language/crash_6725_part.dart
similarity index 97%
copy from tests/language/crash_6725_test.dart
copy to tests/language/crash_6725_part.dart
index f9cbb18878bf338b1fdec71f521c8e3b6a37629c..86878375b27ee77fb129fd9826132e34a9e9ee40 100644
--- a/tests/language/crash_6725_test.dart
+++ b/tests/language/crash_6725_part.dart
@@ -4,6 +4,8 @@
// Regression test for a crash in dart2js.
+part of crash_6725;
+
class Fisk {
it1(x) {
// "key" is unresolved and caused a crash in dart2js.
@@ -35,7 +37,7 @@ class SubFisk extends Fisk {
var fisk;
}
-main() {
+test() {
Fisk f = new SubFisk();
var m = (x) {
for (undeclared in x) {

Powered by Google App Engine
This is Rietveld 408576698