Enable basic spell check for Kotlin
#KT-4272 Fixed
This commit is contained in:
@@ -176,7 +176,7 @@ fun returnFunctionLiteral(<info>a</info>: Any?): Function0<Int> =
|
||||
if (<info>a</info> is Int) { (): Int -> <info descr="Automatically cast to jet.Int"><info>a</info></info> }
|
||||
else { () -> 1 }
|
||||
|
||||
fun mergeAutocasts(a: Any?) {
|
||||
fun merge<TYPO descr="Typo: In word 'Autocasts'">Autocasts</TYPO>(a: Any?) {
|
||||
if (a is String || a is Int) {
|
||||
a.<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: compareTo">compareTo</error>("")
|
||||
<info descr="Automatically cast to jet.Any">a</info>.toString()
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package kara.internal
|
||||
|
||||
/* Test <TYPO descr="Typo: In word 'somthing'">somthing</TYPO> */
|
||||
class <TYPO descr="Typo: In word 'Moree'">Moree</TYPO>Fun {
|
||||
fun <TYPO descr="Typo: In word 'wrte'">wrte</TYPO>() {
|
||||
val <TYPO descr="Typo: In word 'childen'">childen</TYPO> = 12
|
||||
val <warning descr="[UNUSED_VARIABLE] Variable 'come' is never used">come</warning> = childen
|
||||
wrte()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user