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 36c8b0dafdaf91c3fac70b1fa64432b42bc77e91..d7d595b1e18b63ba5612d220775d1f3773bb1611 100644 |
--- a/runtime/bin/vmservice/client/lib/src/service/object.dart |
+++ b/runtime/bin/vmservice/client/lib/src/service/object.dart |
@@ -734,7 +734,7 @@ class ServiceMap extends ServiceObject implements ObservableMap { |
_serviceType == 'Library') && |
!_id.startsWith(objectIdRingPrefix); |
} |
- bool get immutable => canCache && (_serviceType != 'Function'); |
+ bool get immutable => canCache; |
ServiceMap._empty(ServiceObjectOwner owner) : super._empty(owner); |