File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -218,17 +218,6 @@ class Scope {
218
218
219
219
// TODO(deboer): Temporary shim until all uses are fixed.
220
220
if (context != null ) {
221
- assert (() {
222
- try {
223
- throw [];
224
- } catch (e, s) {
225
- var msg = "WARNING: The Scope.watch's context parameter "
226
- "is deprecated.\n Scope.watch was called from:\n $s " ;
227
- _oneTimeWarnings.putIfAbsent (msg, () => print (msg));
228
- }
229
- return true ;
230
- });
231
-
232
221
// Create a child scope instead.
233
222
return createChild (context)
234
223
.watch (expression, reactionFn,
@@ -275,7 +264,6 @@ class Scope {
275
264
WatchGroup group = canChangeModel ? _readWriteGroup : _readOnlyGroup;
276
265
return group.watch (ast, reactionFn);
277
266
}
278
- static Map _oneTimeWarnings = new HashMap ();
279
267
280
268
dynamic eval (expression, [Map locals]) {
281
269
assert (isAttached);
You can’t perform that action at this time.
0 commit comments