Files
Mikhail Glukhikh 6d2845549a AbstractLocalInspectionTest: add LANGUAGE_VERSION support
Related to KT-17164

GitOrigin-RevId: 15b903f3c83db5668aa63dd83159690efa1eede9
2017-05-16 20:44:12 +03:00

10 lines
231 B
Kotlin

// LANGUAGE_VERSION: 1.2
// PROBLEM: none
// ERROR: Type mismatch: inferred type is Int but Array<String> was expected
annotation class Some(val arg: Array<String>)
fun create(x: Int) = x
@Some(arg = <caret>create(123))
class My