Kapt: -Xmaxerrs javac option is not propagated properly (KT-21264)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// CORRECT_ERROR_TYPES
|
||||
// EXPECTED_ERROR(10;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.
|
||||
Reference in New Issue
Block a user