- Fix build: Make sure that external methods are patched in dart2js.

BUG=

Review URL: https://codereview.chromium.org/1389533002 .
This commit is contained in:
Ivan Posva 2015-10-03 07:24:38 -07:00
parent ba6c0ace3e
commit a1f0a52c4f

View file

@ -19,6 +19,16 @@ class Isolate {
@patch
static Isolate get current => _currentIsolateCache;
@patch
static Future<Uri> get packageRoot {
throw new UnsupportedError("Isolate.packageRoot");
}
@patch
static Future<Map<String, Uri>> get packageMap {
throw new UnsupportedError("Isolate.packageMap");
}
@patch
static Future<Isolate> spawn(void entryPoint(message), var message,
{bool paused: false, bool errorsAreFatal,