# Test that composing keeps the field name that says what kind a param is.
=== input
Short.

:param a: A.
:keyword k: K.
:attribute t: T.
:key y: Y.
:arg g: G.
=== parse rest
short_description: 'Short.'
blank_after_short_description: True
blank_after_long_description: False
style: rest
- DocstringParam
  description: 'A.'
  kind: param
  key: 'param'
  arg_name: 'a'
  is_optional: False
- DocstringParam
  description: 'K.'
  kind: keyword
  key: 'keyword'
  arg_name: 'k'
  is_optional: False
- DocstringParam
  description: 'T.'
  kind: attribute
  key: 'attribute'
  arg_name: 't'
  is_optional: False
- DocstringParam
  description: 'Y.'
  kind: param
  key: 'key'
  arg_name: 'y'
  is_optional: False
- DocstringParam
  description: 'G.'
  kind: param
  key: 'arg'
  arg_name: 'g'
  is_optional: False
=== compose rest
Short.

:param a: A.
:keyword k: K.
:attribute t: T.
:key y: Y.
:arg g: G.
=== convert rest epydoc
Short.

@param a: A.
@keyword k: K.
@ivar t: T.
@param y: Y.
@arg g: G.
