Fix unresolved references in the api docs
These were mostly incorrect parameter names and external api links.
This commit is contained in:
@@ -536,7 +536,7 @@ public infix fun Short.until(to: Byte): IntRange {
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to ['\u0000'] the returned range is empty.
|
||||
* If the [to] value is less than or equal to `'\u0000'` the returned range is empty.
|
||||
*/
|
||||
public infix fun Char.until(to: Char): CharRange {
|
||||
if (to <= '\u0000') return CharRange.EMPTY
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package kotlin.collections
|
||||
|
||||
/**
|
||||
* Creates an [Iterator] for an [Enumeration], allowing to use it in `for` loops.
|
||||
* Creates an [Iterator] for an [java.util.Enumeration], allowing to use it in `for` loops.
|
||||
* @sample samples.collections.Iterators.iteratorForEnumeration
|
||||
*/
|
||||
@kotlin.jvm.JvmVersion
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
|
||||
package kotlin.coroutines.experimental.intrinsics
|
||||
|
||||
import kotlin.coroutines.experimental.Continuation
|
||||
import kotlin.coroutines.experimental.CoroutineContext
|
||||
import kotlin.coroutines.experimental.processBareContinuationResume
|
||||
import kotlin.coroutines.experimental.*
|
||||
|
||||
/**
|
||||
* Obtains the current continuation instance inside suspend functions and either suspends
|
||||
@@ -68,7 +66,9 @@ public inline fun <T> Continuation<T>.intercepted(): Continuation<T> =
|
||||
/**
|
||||
* Continuation context of current coroutine.
|
||||
*
|
||||
* This allows the user code to not pass an extra [CoroutineContext] parameter in basic coroutine builders like [launch] and [async],
|
||||
* This allows the user code to not pass an extra [CoroutineContext] parameter in basic coroutine builders
|
||||
* like [launch](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.experimental/launch.html)
|
||||
* and [async](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.experimental/async.html),
|
||||
* but still provide easy access to coroutine context.
|
||||
*/
|
||||
@SinceKotlin("1.2")
|
||||
|
||||
@@ -52,7 +52,7 @@ public val File.extension: String
|
||||
get() = name.substringAfterLast('.', "")
|
||||
|
||||
/**
|
||||
* Returns [path] of this File using the invariant separator '/' to
|
||||
* Returns [path][File.path] of this File using the invariant separator '/' to
|
||||
* separate the names in the name sequence.
|
||||
*/
|
||||
public val File.invariantSeparatorsPath: String
|
||||
|
||||
@@ -109,7 +109,7 @@ private class ClosedFloatRange (
|
||||
public operator fun <T: Comparable<T>> T.rangeTo(that: T): ClosedRange<T> = ComparableRange(this, that)
|
||||
|
||||
/**
|
||||
* Creates a range from this [Double] value to the specified [other] value.
|
||||
* Creates a range from this [Double] value to the specified [that] value.
|
||||
*
|
||||
* Numbers are compared with the ends of this range according to IEEE-754.
|
||||
*/
|
||||
@@ -117,7 +117,7 @@ public operator fun <T: Comparable<T>> T.rangeTo(that: T): ClosedRange<T> = Comp
|
||||
public operator fun Double.rangeTo(that: Double): ClosedFloatingPointRange<Double> = ClosedDoubleRange(this, that)
|
||||
|
||||
/**
|
||||
* Creates a range from this [Float] value to the specified [other] value.
|
||||
* Creates a range from this [Float] value to the specified [that] value.
|
||||
*
|
||||
* Numbers are compared with the ends of this range according to IEEE-754.
|
||||
*/
|
||||
|
||||
@@ -22,9 +22,9 @@ public inline fun String.toRegex(option: RegexOption): Regex = Regex(this, optio
|
||||
public inline fun String.toRegex(options: Set<RegexOption>): Regex = Regex(this, options)
|
||||
|
||||
/**
|
||||
* Converts this [Pattern] to an instance of [Regex].
|
||||
* Converts this [java.util.regex.Pattern] to an instance of [Regex].
|
||||
*
|
||||
* Provides the way to use Regex API on the instances of [Pattern].
|
||||
* Provides the way to use Regex API on the instances of [java.util.regex.Pattern].
|
||||
*/
|
||||
@JvmVersion
|
||||
@kotlin.internal.InlineOnly
|
||||
|
||||
@@ -95,12 +95,12 @@ public inline infix fun BigInteger.or(other: BigInteger): BigInteger = this.or(o
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun BigInteger.xor(other: BigInteger): BigInteger = this.xor(other)
|
||||
|
||||
/** Shifts this value left by [bits]. */
|
||||
/** Shifts this value left by the [n] number of bits. */
|
||||
@SinceKotlin("1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun BigInteger.shl(n: Int): BigInteger = this.shiftLeft(n)
|
||||
|
||||
/** Shifts this value right by [bits], filling the leftmost bits with copies of the sign bit. */
|
||||
/** Shifts this value right by the [n] number of bits, filling the leftmost bits with copies of the sign bit. */
|
||||
@SinceKotlin("1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun BigInteger.shr(n: Int): BigInteger = this.shiftRight(n)
|
||||
|
||||
Reference in New Issue
Block a user