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

Unified Diff: tests/language/deferred_shared_and_unshared_classes_lib_shared.dart

Issue 968163002: Move the dart_precompiled function inside scoping function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use embedded globals Created 5 years, 10 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: tests/language/deferred_shared_and_unshared_classes_lib_shared.dart
diff --git a/tools/canary.dart b/tests/language/deferred_shared_and_unshared_classes_lib_shared.dart
similarity index 66%
copy from tools/canary.dart
copy to tests/language/deferred_shared_and_unshared_classes_lib_shared.dart
index cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f..52ddf46ebb46c7ff6454848e3a291e0b36ce2b43 100644
--- a/tools/canary.dart
+++ b/tests/language/deferred_shared_and_unshared_classes_lib_shared.dart
@@ -2,10 +2,14 @@
// 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.
-// Script which exits with code 42.
-
-import 'dart:io';
+class CShared {
+ toString() => "shared";
+}
-void main() {
- exitCode = 42;
+class C1 {
+ toString() => "C1";
}
+
+class C2 {
+ toString() => "C2";
+}

Powered by Google App Engine
This is Rietveld 408576698