diff options
Diffstat (limited to 'plugins/kotlin/idea/resources-en/inspectionDescriptions/InlineClassDeprecatedMigration.html')
-rw-r--r-- | plugins/kotlin/idea/resources-en/inspectionDescriptions/InlineClassDeprecatedMigration.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/kotlin/idea/resources-en/inspectionDescriptions/InlineClassDeprecatedMigration.html b/plugins/kotlin/idea/resources-en/inspectionDescriptions/InlineClassDeprecatedMigration.html new file mode 100644 index 000000000000..a23722fe70cc --- /dev/null +++ b/plugins/kotlin/idea/resources-en/inspectionDescriptions/InlineClassDeprecatedMigration.html @@ -0,0 +1,21 @@ +<html> +<body> +<p> + Reports inline classes that are deprecated and cause compilation warnings in Kotlin 1.5 and later. + See <a href="https://kotlinlang.org/docs/whatsnew15.html#inline-classes">What's new in Kotlin 1.5.0</a> +</p> + +<p>Example:</p> +<pre><code> + inline class Password(val s: String) +</code></pre> + +<p>After the quick-fix is applied:</p> +<pre><code> + @JvmInline + value class Password(val s: String) +</code></pre> + +<p>Inspection is available for Kotlin language level starting from 1.5.</p> +</body> +</html>
\ No newline at end of file |