| Index: runtime/vm/dart_api_impl.cc
|
| ===================================================================
|
| --- runtime/vm/dart_api_impl.cc (revision 30176)
|
| +++ runtime/vm/dart_api_impl.cc (working copy)
|
| @@ -2880,11 +2880,11 @@
|
| if (!redirect_type.IsInstantiated()) {
|
| // The type arguments of the redirection type are instantiated from the
|
| // type arguments of the type argument.
|
| - Error& malformed_error = Error::Handle();
|
| + Error& bound_error = Error::Handle();
|
| redirect_type ^= redirect_type.InstantiateFrom(type_arguments,
|
| - &malformed_error);
|
| - if (!malformed_error.IsNull()) {
|
| - return Api::NewHandle(isolate, malformed_error.raw());
|
| + &bound_error);
|
| + if (!bound_error.IsNull()) {
|
| + return Api::NewHandle(isolate, bound_error.raw());
|
| }
|
| }
|
|
|
|
|