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

Unified Diff: dart/tests/language/src/StaticTopLevelTest.dart

Issue 8437091: - Update tests to make sure they recerefence invalid code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 1 month 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: dart/tests/language/src/StaticTopLevelTest.dart
===================================================================
--- dart/tests/language/src/StaticTopLevelTest.dart (revision 1146)
+++ dart/tests/language/src/StaticTopLevelTest.dart (working copy)
@@ -11,4 +11,10 @@
static final int typedConstant = 99; /// 05: compile-time error
void main() {
+ method(); /// 00: continued
+ field = 2; /// 01: continued
+ print(constant); /// 02: continued
+ typedMethod(); /// 03: continued
+ typedField = 2; /// 04: continued
+ print(typedConstant); /// 05: continued
}

Powered by Google App Engine
This is Rietveld 408576698