Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/maxErrorCount.kt
T
Yan Zhulanow b0e97de8a8 Kapt: Move line metadata to .kaptMetadata external files (KT-22386)
Placing location table inside .java file triggers annotation processor to run on each line table modification (even when the stub declarations themselves are the same). So we move it to the separate file.
2018-02-06 22:16:00 +03:00

13 lines
392 B
Kotlin
Vendored

// CORRECT_ERROR_TYPES
// EXPECTED_ERROR(8;5) cannot find symbol (Kotlin location: /maxErrorCount.kt: (9, 5))
// JAVAC_OPTION -Xmaxerrs=1
@file:Suppress("UNRESOLVED_REFERENCE")
import kotlin.reflect.KClass
class Test {
fun a(a: ABC, b: BCD) {}
}
// There are two errors (unresolved identifier ABC, BCD) actually.
// But we specified the max error count, so the error output is limited.