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

Unified Diff: test/codegen/sunflower/circle.dart

Issue 1147053003: Modified sunflower (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refactor Created 5 years, 7 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 | « test/codegen/expect/sunflower/sunflower.txt ('k') | test/codegen/sunflower/painter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/sunflower/circle.dart
diff --git a/test/dart_codegen/types/c.dart b/test/codegen/sunflower/circle.dart
similarity index 69%
copy from test/dart_codegen/types/c.dart
copy to test/codegen/sunflower/circle.dart
index 62b77a3fbe35e2db4e9d121dcd889f247081f6d3..adf4799c959c484829bb7d35e70a4593262808d6 100644
--- a/test/dart_codegen/types/c.dart
+++ b/test/codegen/sunflower/circle.dart
@@ -2,12 +2,10 @@
// 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.
-library c;
+library circle;
-import 'b.dart';
+class Circle {
+ final num x, y, radius;
-void bar() {
- f3(f4(3));
- f1(f4);
- f2(f3);
+ Circle(this.x, this.y, this.radius);
}
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.txt ('k') | test/codegen/sunflower/painter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698