| Index: runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/function_view.dart b/runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| index 3f94ce405ff5a5d0bc03f080122604ff183a5f04..4463a34f90ddc45262482f801b564e23348203df 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/elements/function_view.dart
|
| @@ -25,12 +25,12 @@ class FunctionViewElement extends ObservatoryElement {
|
| if (parent != null) {
|
| return "${_getQualifiedName(parent)}.${function['user_name']}";
|
| }
|
| - var cls = (function != null &&
|
| - function['owner'] != null &&
|
| - function['owner'].serviceType == 'Class'
|
| - ? function['owner'] : null);
|
| + Class cls = (function != null &&
|
| + function['owner'] != null &&
|
| + function['owner'].serviceType == 'Class'
|
| + ? function['owner'] : null);
|
| if (cls != null) {
|
| - return "${cls['user_name']}.${function['user_name']}";
|
| + return "${cls.name}.${function['user_name']}";
|
| }
|
| return "${function['user_name']}";
|
| }
|
|
|