Fix unresolved references in the api docs

These were mostly incorrect parameter names and external api links.
This commit is contained in:
Ilya Gorbunov
2017-11-27 23:25:24 +03:00
parent 3f26fd3f7f
commit bd4d847943
14 changed files with 28 additions and 27 deletions
@@ -105,13 +105,14 @@ object RangeOps : TemplateGroupBase() {
val progressionType = elementType.name + "Range"
returns(progressionType)
val minValue = if (elementType == PrimitiveType.Char) "'\\u0000'" else "$elementType.MIN_VALUE"
val minValueRef = if (elementType == PrimitiveType.Char) "`$minValue`" else "[$minValue]"
doc {
"""
Returns a range from this value up to but excluding the specified [to] value.
${textWhen(elementType == toType) {
"If the [to] value is less than or equal to [$minValue] the returned range is empty."
"If the [to] value is less than or equal to $minValueRef the returned range is empty."
}}
"""
}