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

Unified Diff: sdk/lib/_collection_dev/schedule_immediate.dart

Issue 88783002: Isolate.spawn{Uri} only reports errors asynchronously. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dart2js. Created 7 years, 1 month 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: sdk/lib/_collection_dev/schedule_immediate.dart
diff --git a/pkg/analyzer/lib/formatter.dart b/sdk/lib/_collection_dev/schedule_immediate.dart
similarity index 58%
copy from pkg/analyzer/lib/formatter.dart
copy to sdk/lib/_collection_dev/schedule_immediate.dart
index 5139cdeae58eb035b54ad1644b6b92d99817ea7a..d03356bd86450adb875e6183677b94de8dc44578 100644
--- a/pkg/analyzer/lib/formatter.dart
+++ b/sdk/lib/_collection_dev/schedule_immediate.dart
@@ -2,7 +2,7 @@
// 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 formatter;
+part of dart._collection.dev;
-export 'package:analyzer/src/services/formatter_impl.dart'
- show CodeFormatter, FormatterOptions, FormattedSource, CodeKind;
+/** Schedule the given callback before any other event in the event-loop. */
+external void scheduleImmediate(void callback());

Powered by Google App Engine
This is Rietveld 408576698