OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of type_graph_inferrer; | 5 part of type_graph_inferrer; |
6 | 6 |
7 // A set of selectors we know do not escape the elements inside the | 7 // A set of selectors we know do not escape the elements inside the |
8 // list. | 8 // list. |
9 Set<String> doesNotEscapeListSet = new Set<String>.from( | 9 Set<String> doesNotEscapeListSet = new Set<String>.from( |
10 const <String>[ | 10 const <String>[ |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 } | 378 } |
379 if (isParameterOfListAddingMethod(info.element) || | 379 if (isParameterOfListAddingMethod(info.element) || |
380 isParameterOfMapAddingMethod(info.element)) { | 380 isParameterOfMapAddingMethod(info.element)) { |
381 // These elements are being handled in | 381 // These elements are being handled in |
382 // [visitDynamicCallSiteTypeInformation]. | 382 // [visitDynamicCallSiteTypeInformation]. |
383 return; | 383 return; |
384 } | 384 } |
385 addNewEscapeInformation(info); | 385 addNewEscapeInformation(info); |
386 } | 386 } |
387 } | 387 } |
OLD | NEW |