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

Unified Diff: test/parts/foo.dart

Issue 1018643002: change to source-order crawling of directives instead of alphabetical (Closed) Base URL: git@github.com:dart-lang/static-init.git@master
Patch Set: switch to bug fix instead of breaking change, and use definingCompilationUnit Created 5 years, 9 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/parts/bar.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/parts/foo.dart
diff --git a/test_package/lib/bar.dart b/test/parts/foo.dart
similarity index 73%
copy from test_package/lib/bar.dart
copy to test/parts/foo.dart
index 8cc6129cdc024e3511a7622f98d90270f34ec05e..2c0528f545820e5165bf7859230c36b048be1da1 100644
--- a/test_package/lib/bar.dart
+++ b/test/parts/foo.dart
@@ -1,7 +1,10 @@
// Copyright (c) 2015, 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.
+part of initialize.initializer_parts_test;
+
@initializeTracker
-library test_package.bar;
+class Foo {}
-import 'package:initialize/src/initialize_tracker.dart';
+@initializeTracker
+foo() {}
« no previous file with comments | « test/parts/bar.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698