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

Unified Diff: dart/tests/language/no_main_test.dart

Issue 285903006: Fix main handling in dart2js and add tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r38186. 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 | « dart/tests/language/main_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/no_main_test.dart
diff --git a/dart/tests/try/poi/data/empty_main.dart b/dart/tests/language/no_main_test.dart
similarity index 77%
copy from dart/tests/try/poi/data/empty_main.dart
copy to dart/tests/language/no_main_test.dart
index 591abebadd6fbd4884c6aef8582a9ec641b89b3a..24e5b37118b7a5e4cb2b5dbdce522937cc4a536d 100644
--- a/dart/tests/try/poi/data/empty_main.dart
+++ b/dart/tests/language/no_main_test.dart
@@ -2,4 +2,6 @@
// 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.
+/* /// 01: static type warning, runtime error
main() {}
+*/ /// 01: continued
« no previous file with comments | « dart/tests/language/main_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698