Enable basic spell check for Kotlin

#KT-4272 Fixed
This commit is contained in:
Nikolay Krasko
2013-12-02 20:20:45 +04:00
parent d6e1af645f
commit 1675e45aee
6 changed files with 68 additions and 1 deletions
+1 -1
View File
@@ -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()
+10
View File
@@ -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()
}
}