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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/service/object.dart

Issue 544753002: Address static warnings in the service library and tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/observatory/test/contexts_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/observatory/lib/src/service/object.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/service/object.dart b/runtime/bin/vmservice/observatory/lib/src/service/object.dart
index 67747026f2b044182249cb75318f07d7bfb38b8d..2b35a99eedebd11dd9691dea8019d1ebb2f88a88 100644
--- a/runtime/bin/vmservice/observatory/lib/src/service/object.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/service/object.dart
@@ -1528,12 +1528,10 @@ class Context extends ServiceObject {
@observable Class clazz;
@observable int size;
- @observable ServiceObject parentContext;
- @observable var length;
+ @observable var parentContext;
+ @observable int length;
@observable var variables;
- bool get isClosure => closureFunc != null;
-
Context._empty(ServiceObjectOwner owner) : super._empty(owner);
void _update(ObservableMap map, bool mapIsRef) {
@@ -1555,8 +1553,6 @@ class Context extends ServiceObject {
_loaded = true;
}
- String get shortName => valueAsString != null ? valueAsString : 'a ${clazz.name}';
-
String toString() => 'Context($length)';
}
« no previous file with comments | « no previous file | runtime/bin/vmservice/observatory/test/contexts_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698