-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Ktorfit version
2.5.2
What happened and how can we reproduce this issue?
If I put annotations composed with other annotations like @Deprecated and ReplaceWith
@GET("some/old/api")
@Deprecated("this is deprecated")
suspend fun getSomeOldData( ... ): OldData
the generated code contains an extra @ from ReplaceWith :
attributes.put(annotationsAttributeKey, listOf(
Deprecated(message = "this is deprecated", replaceWith = @kotlin.ReplaceWith(expression = ""), level = kotlin.DeprecationLevel.WARNING),
))
What did you expect to happen?
the generated code should be
attributes.put(annotationsAttributeKey, listOf(
Deprecated(message = "this is deprecated", replaceWith = kotlin.ReplaceWith(expression = ""), level = kotlin.DeprecationLevel.WARNING),
))
Is there anything else we need to know about?
No response
anthony-legay and anox1337
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working