提交 a89a5c91 编写于 作者: A Adam Barth 提交者: GitHub

The gen_snapshot tool requires this field to be present (#2762)

上级 211f2d4a
......@@ -23,6 +23,9 @@ void _scheduleMicrotask(void callback()) native "ScheduleMicrotask";
String _getBaseURLString() native "GetBaseURLString";
Uri _getBaseURL() => Uri.parse(_getBaseURLString());
// Required for gen_snapshot to work correctly.
int _isolateId;
_getPrintClosure() => _print;
_getScheduleMicrotaskClosure() => _scheduleMicrotask;
_getGetBaseURLClosure() => _getBaseURL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册