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

Unified Diff: compiler/lib/implementation/isolate_serialization.dart

Issue 8403040: Don't wait unnecessarily. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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: compiler/lib/implementation/isolate_serialization.dart
===================================================================
--- compiler/lib/implementation/isolate_serialization.dart (revision 1134)
+++ compiler/lib/implementation/isolate_serialization.dart (working copy)
@@ -46,7 +46,7 @@
if (x is ReceivePortImpl) return visitReceivePort(x);
if (x is ReceivePortSingleShotImpl) return visitReceivePortSingleShot(x);
// TODO(floitsch): make this a real exception. (which one)?
- throw "Message serialization: Illegal value $x passed";
+ throw new Exception("Message serialization: Illegal value $x passed");
}
abstract visitPrimitive(x);

Powered by Google App Engine
This is Rietveld 408576698