Index: dart/runtime/vm/class_finalizer.cc |
=================================================================== |
--- dart/runtime/vm/class_finalizer.cc (revision 37971) |
+++ dart/runtime/vm/class_finalizer.cc (working copy) |
@@ -731,6 +731,7 @@ |
const TypeArguments& arguments, |
Error* bound_error) { |
if (!cls.is_type_finalized()) { |
+ FinalizeTypeParameters(cls); |
FinalizeUpperBounds(cls); |
} |
// Note that when finalizing a type, we need to verify the bounds in both |