minor doc corrections

This commit is contained in:
Dmitry Jemerov
2015-09-10 14:25:33 +02:00
parent 137f8b242a
commit 8ca54f4dbb
2 changed files with 6 additions and 6 deletions
+2 -6
View File
@@ -40,12 +40,7 @@ public annotation class noinline
public annotation class inline public annotation class inline
/** /**
* Specifies options for allowed control flow in inlined lambdas. Lambdas which are invoked directly by the * @suppress
* receiving function are allowed to use non-local control flow statements. Lambdas which are called from
* a different execution context (for example, from an object contained in the receiving function)
* are restricted to local control flow statements.
*
* @property value the inlining options selected for the annotated function parameter.
*/ */
@Target(AnnotationTarget.VALUE_PARAMETER) @Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.RUNTIME) @Retention(AnnotationRetention.RUNTIME)
@@ -64,6 +59,7 @@ public annotation class crossinline
* Specifies the control flow statements which are allowed to be used for non-local control flow transfer in a lambda * Specifies the control flow statements which are allowed to be used for non-local control flow transfer in a lambda
* passed as a parameter to an inline function. * passed as a parameter to an inline function.
*/ */
@Deprecated("Use the crossinline modifier instead")
public enum class InlineOption { public enum class InlineOption {
/** /**
* This option hasn't been implemented yet. * This option hasn't been implemented yet.
+4
View File
@@ -9,6 +9,10 @@ text and files.
Core functions and types, available on all supported platforms. Core functions and types, available on all supported platforms.
# Package kotlin.annotation
Library support for the Kotlin annotation facility.
# Package kotlin.browser # Package kotlin.browser
API to access the web browser DOM. API to access the web browser DOM.