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

Unified Diff: frog/tests/leg/src/ClosureCodegenTest.dart

Issue 9193016: Add the arity to calls, and support noSuchMethodException. (Closed) Base URL: http://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
« no previous file with comments | « frog/tests/leg/src/ClassCodegenTest.dart ('k') | frog/tests/leg/src/ConstantFoldingTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/ClosureCodegenTest.dart
===================================================================
--- frog/tests/leg/src/ClosureCodegenTest.dart (revision 3539)
+++ frog/tests/leg/src/ClosureCodegenTest.dart (working copy)
@@ -29,11 +29,11 @@
closureInvocation() {
String generated = compile(TEST_INVOCATION0);
- Expect.isTrue(generated.contains(".\$call()"));
+ Expect.isTrue(generated.contains(".\$call\$0()"));
generated = compile(TEST_INVOCATION1);
- Expect.isTrue(generated.contains(".\$call(1)"));
+ Expect.isTrue(generated.contains(".\$call\$1(1)"));
generated = compile(TEST_INVOCATION2);
- Expect.isTrue(generated.contains(".\$call(1, 2)"));
+ Expect.isTrue(generated.contains(".\$call\$2(1, 2)"));
}
main() {
« no previous file with comments | « frog/tests/leg/src/ClassCodegenTest.dart ('k') | frog/tests/leg/src/ConstantFoldingTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698