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

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

Issue 10179001: Use shorter names for constructor arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make sure mangling is correct and update tests. Created 8 years, 8 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 | lib/compiler/implementation/emitter.dart » ('j') | lib/compiler/implementation/namer.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/ClassCodegenTest.dart
diff --git a/frog/tests/leg/src/ClassCodegenTest.dart b/frog/tests/leg/src/ClassCodegenTest.dart
index 4d5fce5bbc24569631049abd5893097b6d650d78..1176bbe044296d09c56ea3ffe6d2d2284ac102aa 100644
--- a/frog/tests/leg/src/ClassCodegenTest.dart
+++ b/frog/tests/leg/src/ClassCodegenTest.dart
@@ -83,9 +83,9 @@ subClass() {
fieldTest() {
String generated = compileAll(TEST_FOUR);
Expect.isTrue(generated.contains(@"""
-$.B = function B(B_z, B_y, A_x) {
- this.z = B_z;
- this.y = B_y;
+$.B = function B(z, y, A_x) {
+ this.z = z;
+ this.y = y;
this.x = A_x;
};"""));
}
« no previous file with comments | « no previous file | lib/compiler/implementation/emitter.dart » ('j') | lib/compiler/implementation/namer.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698