Skip to content

Commit

Permalink
Fixes issue rendering type parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbrooks12 committed Sep 30, 2018
1 parent 1d965b4 commit ae841fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fun MutableList<SignatureComponent>.appendNonFunctionalType(node: DocumentationN
add(SignatureComponent("punctuation", "<", ""))
typeArguments.forEachIndexed { index, parameter ->
appendParameterType(parameter)
if (index < typeArguments.size - 2) {
if (index < typeArguments.size - 1) {
add(SignatureComponent("punctuation", ", ", ""))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,14 @@ class KotlinClass(
return null
}

/**
* This is a method defined in the class body, which has parameters and a return value with internal types
*
* @param param This is the param1 for the method
* @return This is the returned string value
*/
fun <T, U> multipleTypeParameters(param: Map<T?, U?>) {

}

}

0 comments on commit ae841fa

Please sign in to comment.