Chromium Code Reviews

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: Update co19 status Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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

Powered by Google App Engine