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

Unified Diff: tests/language/generic_syntax_test.dart

Issue 11377102: Remove named function literals from library and tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « tests/language/function_type_alias_test.dart ('k') | tests/language/generics_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/generic_syntax_test.dart
===================================================================
--- tests/language/generic_syntax_test.dart (revision 14804)
+++ tests/language/generic_syntax_test.dart (working copy)
@@ -17,7 +17,7 @@
}
void bar(x) {
- Expect.equals(null, x());
+ Expect.equals(null, x(null));
}
test() {
@@ -29,7 +29,7 @@
var f = 6;
var g = 7;
var h = null;
- bar(A<B, C, D, E, F> g() { return h; }); // 'A<B' starts a generic type.
+ bar((A<B, C, D, E, F> g) { return h; }); // 'A<B' starts a generic type.
foo(a<b, c, d, e, f> g); // 'a<b' is a boolean function argument.
}
« no previous file with comments | « tests/language/function_type_alias_test.dart ('k') | tests/language/generics_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698