Index: pkg/compiler/lib/src/dump_info.dart |
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart |
index 5a092f3dd50467e361b761d615959009e803519d..f89bec3c3f0693f593298104b55efdd1fbaa4200 100644 |
--- a/pkg/compiler/lib/src/dump_info.dart |
+++ b/pkg/compiler/lib/src/dump_info.dart |
@@ -263,7 +263,8 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
String returnType = null; |
List<ParameterInfo> parameters = <ParameterInfo>[]; |
if (element.hasFunctionSignature) { |
- FunctionSignature signature = element.functionSignature; |
+ FunctionElement implementation = element.implementation; |
+ FunctionSignature signature = implementation.functionSignature; |
signature.forEachParameter((parameter) { |
parameters.add(new ParameterInfo(parameter.name, |
'${_resultOfParameter(parameter).type}', '${parameter.node.type}')); |