| Index: runtime/vm/flow_graph_builder.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_builder.cc (revision 8811)
|
| +++ runtime/vm/flow_graph_builder.cc (working copy)
|
| @@ -364,6 +364,11 @@
|
| // being type checked.
|
| return true;
|
| }
|
| + if (static_type.IsType() &&
|
| + Class::Handle(static_type.type_class()).HasTypeArguments()) {
|
| + // TODO(regis): Special tests need to be added.
|
| + return false;
|
| + }
|
| Error& malformed_error = Error::Handle();
|
| if (!dst_type.IsMalformed() &&
|
| static_type.IsSubtypeOf(dst_type, &malformed_error)) {
|
|
|