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

Unified Diff: dart/frog/leg/tests/function_parameters.dart

Issue 8497011: Parse formal parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
Index: dart/frog/leg/tests/function_parameters.dart
diff --git a/dart/frog/leg/tests/function_parameters.dart b/dart/frog/leg/tests/function_parameters.dart
new file mode 100644
index 0000000000000000000000000000000000000000..77ab70904407c20030c0324862a63110ec19e77d
--- /dev/null
+++ b/dart/frog/leg/tests/function_parameters.dart
@@ -0,0 +1,11 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+void main() {
+ // print(foo(3) + foo(4));
kasperl 2011/11/08 12:32:49 Looking forward to getting this into frog/tests/le
ahe 2011/11/08 12:40:31 +1
ngeoffray 2011/11/08 12:45:02 Rebase and you should have it there :)
ahe 2011/11/08 12:48:04 Ooh. You speak git now ;-)
+}
+
+void foo(int a) {
kasperl 2011/11/08 12:32:49 int foo(int a)?
ahe 2011/11/08 12:40:31 Done.
+ return a;
+}

Powered by Google App Engine
This is Rietveld 408576698