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

Unified Diff: tests/language/type_vm_test.dart

Issue 10910119: Implement new optional parameters syntax in the vm (issue 4290). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « tests/language/positional_parameters_type_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_vm_test.dart
===================================================================
--- tests/language/type_vm_test.dart (revision 12003)
+++ tests/language/type_vm_test.dart (working copy)
@@ -172,9 +172,9 @@
static testFunctionNum() {
int result = 0;
Function anyFunction;
- void acceptFunNum(void funNum(num num)) { };
+ void acceptFunNum(void funNum(num n)) { };
void funObj(Object obj) { };
- void funNum(num num) { };
+ void funNum(num n) { };
void funInt(int i) { };
void funString(String s) { };
anyFunction = funObj; // No error.
« no previous file with comments | « tests/language/positional_parameters_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698