mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 08:59:24 +00:00
- Fix build: Make sure that external methods are patched in dart2js.
BUG= Review URL: https://codereview.chromium.org/1389533002 .
This commit is contained in:
parent
ba6c0ace3e
commit
a1f0a52c4f
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue