| Index: runtime/lib/mirrors.cc
|
| diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
|
| index 615699a551c9f414c6510e9589af08ed9be64922..a7e8ddc733103d1d4483e7d90e6a57e405782603 100644
|
| --- a/runtime/lib/mirrors.cc
|
| +++ b/runtime/lib/mirrors.cc
|
| @@ -1467,7 +1467,7 @@ DEFINE_NATIVE_ENTRY(ClosureMirror_function, 1) {
|
| Type& instantiator = Type::Handle();
|
| if (closure.IsClosure()) {
|
| const TypeArguments& arguments =
|
| - TypeArguments::Handle(closure.GetTypeArguments());
|
| + TypeArguments::Handle(Closure::Cast(closure).instantiator());
|
| const Class& cls =
|
| Class::Handle(Isolate::Current()->object_store()->object_class());
|
| instantiator = Type::New(cls, arguments, TokenPosition::kNoSource);
|
|
|