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

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

Issue 8343050: Rename parameter to get around possible dartc bug. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 9 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/ClosuresWithComplexParamsTest.dart
diff --git a/tests/language/src/ClosuresWithComplexParamsTest.dart b/tests/language/src/ClosuresWithComplexParamsTest.dart
index 7f4f0bbbfd4aa55da1f34bb3bb4c2ff08fde41e6..8e1ddc7031bf9f0e4221420c4b452a4e8e128f52 100644
--- a/tests/language/src/ClosuresWithComplexParamsTest.dart
+++ b/tests/language/src/ClosuresWithComplexParamsTest.dart
@@ -44,9 +44,9 @@ test3() {
var f2 = (Pair<int, Pair<int, int> > pr) => pr.snd.fst + 2;
// Closures with function type with nested parameterized types.
- var ap1 = (f(Pair<int, Pair<int, int>> pr), Pair<int, Pair<int, int>> pr)
+ var ap1 = (f(Pair<int, Pair<int, int>> pr1), Pair<int, Pair<int, int>> pr)
=> f(pr) * 10;
- var ap2 = (f(Pair<int, Pair<int, int> > pr), Pair<int, Pair<int, int> > pr)
+ var ap2 = (f(Pair<int, Pair<int, int> > pr1), Pair<int, Pair<int, int> > pr)
=> f(pr) * 100;
var e = new Pair<int, Pair<int, int>>(100, new Pair<int, int>(200, 300));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698