OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 Set<String> okMapSelectorsSet = new Set.from( | 7 Set<String> okMapSelectorsSet = new Set.from( |
8 const <String>[ | 8 const <String>[ |
9 // From Object. | 9 // From Object. |
10 "==", | 10 "==", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 return; | 115 return; |
116 } | 116 } |
117 } | 117 } |
118 } else if (selector.isCall && | 118 } else if (selector.isCall && |
119 !info.targets.every((element) => element.isFunction)) { | 119 !info.targets.every((element) => element.isFunction)) { |
120 bailout('Passed to a closure'); | 120 bailout('Passed to a closure'); |
121 return; | 121 return; |
122 } | 122 } |
123 } | 123 } |
124 } | 124 } |
OLD | NEW |