Fix unresolved references in the api docs
These were mostly incorrect parameter names and external api links.
This commit is contained in:
@@ -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."
|
||||
}}
|
||||
"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user