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

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

Issue 9808006: Resolve initializers in their proper scope. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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/language-leg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/src/Issue4515170Test.dart
diff --git a/dart/tests/language/src/Issue4515170Test.dart b/dart/tests/language/src/Issue4515170Test.dart
index 8434ca77961d2adfd3a3fe79215b1dc27075db0d..251778b8ca88eb572e57e1bd31d633ef511fbc4a 100644
--- a/dart/tests/language/src/Issue4515170Test.dart
+++ b/dart/tests/language/src/Issue4515170Test.dart
@@ -7,12 +7,8 @@ class Issue4515170Test {
static int defaultVal([int a = VAL]) {
return a;
}
-
- static testMain() {
- defaultVal();
- }
}
main() {
- Issue4515170Test.testMain();
+ Expect.equals(3, Issue4515170Test.defaultVal());
}
« no previous file with comments | « dart/tests/language/language-leg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698