Chromium Code Reviews| Index: runtime/vm/flow_graph_type_propagator.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_type_propagator.cc (revision 28669) |
| +++ runtime/vm/flow_graph_type_propagator.cc (working copy) |
| @@ -537,7 +537,7 @@ |
| const Class& type_class = |
| Class::Handle(Isolate::Current()->class_table()->At(cid_)); |
| - if (type_class.HasTypeArguments()) { |
| + if (type_class.NumTypeArguments() > 0) { |
| type_ = &Type::ZoneHandle(Type::DynamicType()); |
| return type_; |
| } |