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

Unified Diff: pkg/front_end/testcases/export_test.dart

Issue 3009573002: Serialize exports scopes. (Closed)
Patch Set: Created 3 years, 4 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
Index: pkg/front_end/testcases/export_test.dart
diff --git a/pkg/front_end/testcases/export_test.dart b/pkg/front_end/testcases/export_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..a95dbfa242da5b8416f1e99935d490c283981641
--- /dev/null
+++ b/pkg/front_end/testcases/export_test.dart
@@ -0,0 +1,16 @@
+// Copyright (c) 2017, 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.
+
+/// Test that exports are serialized in platform.dill.
+
+// Note: "dart:profiler" exports UserTag from "dart:developer". This is
+// somewhat brittle and we should extend this test framework to be able to deal
+// with multiple .dill files.
+import 'dart:profiler' show UserTag;
+
+export 'dart:core' show print;
+
+main() {
+ print(UserTag);
+}

Powered by Google App Engine
This is Rietveld 408576698