Resolve annotations on parameters of function type

This commit is contained in:
Pavel V. Talanov
2016-01-19 19:05:50 +03:00
parent 7d72875227
commit d72bc78550
4 changed files with 21 additions and 1 deletions
@@ -244,7 +244,7 @@ class TypeResolver(
val parameterType = resolveType(c.noBareTypes(), parameter.typeReference!!)
val descriptor = ParameterOfFunctionTypeDescriptor(
c.scope.ownerDescriptor,
Annotations.EMPTY,
annotationResolver.resolveAnnotationsWithoutArguments(c.scope, parameter.modifierList, c.trace),
parameter.nameAsSafeName,
parameterType,
parameter.toSourceElement()