Skip to content

Commit

Permalink
TypeSystemAstBuilder: Add missing TypeResolveResult-annotation to Del…
Browse files Browse the repository at this point in the history
…egateDeclaration.
  • Loading branch information
siegfriedpammer committed Jul 26, 2016
1 parent 5ca6d41 commit 89ef970
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,9 @@ DelegateDeclaration ConvertDelegate(IMethod invokeMethod, Modifiers modifiers)
AttributeTarget = "return"
}));
}
if (AddResolveResultAnnotations) {
decl.AddAnnotation(new TypeResolveResult(d));
}
decl.ReturnType = ConvertType(invokeMethod.ReturnType);
decl.Name = d.Name;

Expand Down

0 comments on commit 89ef970

Please sign in to comment.