Index: runtime/vm/mirrors_api_impl.cc |
diff --git a/runtime/vm/mirrors_api_impl.cc b/runtime/vm/mirrors_api_impl.cc |
index 3d83d44aead4fac069a3eb0044c8dfb3c4998271..cb3b93fb639474da78877a91c5abdb654b86b3cb 100644 |
--- a/runtime/vm/mirrors_api_impl.cc |
+++ b/runtime/vm/mirrors_api_impl.cc |
@@ -83,7 +83,7 @@ DART_EXPORT Dart_Handle Dart_GetFunctionNames(Dart_Handle target) { |
if (obj.IsType()) { |
const Class& cls = Class::Handle(Z, Type::Cast(obj).type_class()); |
- const Error& error = Error::Handle(Z, cls.EnsureIsFinalized(I)); |
+ const Error& error = Error::Handle(Z, cls.EnsureIsFinalized(T)); |
if (!error.IsNull()) { |
return Api::NewHandle(I, error.raw()); |
} |