Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: runtime/vm/debugger_api_impl.cc

Issue 1584223006: Remove signature classes from the VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/debugger_api_impl.cc
diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
index 7e1ec45e9616b465f7c549a9bb3d3e5b9f36010b..31cd394f4a197880935c2fd4dd594f9d9448518f 100644
--- a/runtime/vm/debugger_api_impl.cc
+++ b/runtime/vm/debugger_api_impl.cc
@@ -671,7 +671,7 @@ DART_EXPORT Dart_Handle Dart_GetClosureInfo(
if (!instance.IsClosure()) {
return Api::NewError("%s: parameter 0 is not a closure", CURRENT_FUNC);
}
- const Function& func = Function::Handle(Closure::function(instance));
+ const Function& func = Function::Handle(Closure::Cast(instance).function());
ASSERT(!func.IsNull());
if (name != NULL) {
*name = Api::NewHandle(T, func.QualifiedUserVisibleName());

Powered by Google App Engine
This is Rietveld 408576698