| Index: runtime/vm/flow_graph_compiler.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler.cc (revision 28669)
|
| +++ runtime/vm/flow_graph_compiler.cc (working copy)
|
| @@ -1105,7 +1105,7 @@
|
| if (type_class.is_implemented()) return false;
|
| const intptr_t type_cid = type_class.id();
|
| if (CHA::HasSubclasses(type_cid)) return false;
|
| - if (type_class.HasTypeArguments()) {
|
| + if (type_class.NumTypeArguments() > 0) {
|
| // Only raw types can be directly compared, thus disregarding type
|
| // arguments.
|
| const AbstractTypeArguments& type_arguments =
|
|
|