Kapt3: Allow users to disable error type correction (and now it's disabled by default)

This commit is contained in:
Yan Zhulanow
2017-02-06 16:17:15 +03:00
parent 297f8d4161
commit 2553513205
12 changed files with 118 additions and 11 deletions
@@ -0,0 +1,13 @@
// NON_EXISTENT_CLASS
// NO_VALIDATION
@Suppress("UNRESOLVED_REFERENCE")
object NonExistentType {
val a: ABCDEF? = null
val b: List<ABCDEF>? = null
val c: (ABCDEF) -> Unit = { f -> }
val d: ABCDEF<String, (List<ABCDEF>) -> Unit>? = null
fun a(a: ABCDEF, s: String): ABCDEF {}
fun b(s: String): ABCDEF {}
}