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

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

Issue 9270016: Issue 932. Checks for various named arguments cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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/src/NamedParameters10NegativeTest.dart
diff --git a/tests/language/src/NamedParameters10NegativeTest.dart b/tests/language/src/NamedParameters10NegativeTest.dart
index 34f7aac3c86f4d6889a10f31bec320db8168a44f..c2d801432839a2c21c98d84b55b9888536eb4169 100644
--- a/tests/language/src/NamedParameters10NegativeTest.dart
+++ b/tests/language/src/NamedParameters10NegativeTest.dart
@@ -13,10 +13,5 @@ int test(int a) {
}
main() {
- try {
- test(10, x:99); // 1 positional arg, as expected. Param x does not exist.
- } catch (var e) {
- // This is a negative test that should not compile.
- // If it runs due to a bug, catch and ignore exceptions.
- }
+ test(10, x:99); // 1 positional arg, as expected. Param x does not exist.
zundel 2012/01/23 16:18:21 "Furthermore, each qi, 1 <= i <= l, must be a mem
scheglov 2012/01/23 19:32:27 Done.
}

Powered by Google App Engine
This is Rietveld 408576698