| Index: runtime/bin/vmservice/client/lib/src/service/object.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/service/object.dart b/runtime/bin/vmservice/client/lib/src/service/object.dart
|
| index 044927d990c4bba7c702f6d49ce925c1d51c46a7..e9d4adb291d3635bc9c57878fb2a4c28698eec7b 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/service/object.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/service/object.dart
|
| @@ -1338,6 +1338,7 @@ class Script extends ServiceObject with Coverage {
|
| @observable String kind;
|
| @observable int firstTokenPos;
|
| @observable int lastTokenPos;
|
| + @observable Library owningLibrary;
|
| bool get canCache => true;
|
| bool get immutable => true;
|
|
|
| @@ -1360,13 +1361,18 @@ class Script extends ServiceObject with Coverage {
|
| Map _tokenToCol = {};
|
|
|
| void _update(ObservableMap map, bool mapIsRef) {
|
| + _upgradeCollection(map, isolate);
|
| kind = map['kind'];
|
| _url = map['name'];
|
| _shortUrl = _url.substring(_url.lastIndexOf('/') + 1);
|
| name = _shortUrl;
|
| vmName = _url;
|
| + if (mapIsRef) {
|
| + return;
|
| + }
|
| _processSource(map['source']);
|
| _parseTokenPosTable(map['tokenPosTable']);
|
| + owningLibrary = map['owning_library'];
|
| }
|
|
|
| void _parseTokenPosTable(List<List<int>> table) {
|
|
|