5668a7af92
There is no Messages dialog in newer versions of IDEA/Android Studio in which the error messages were mapped before. The new Build window shows only the original locations, so now we need to replace Java file diagnostics with ones mapped to Kotlin source files. The side effect is that diagnostics on the same locations are automatically merged.
13 lines
354 B
Kotlin
Vendored
13 lines
354 B
Kotlin
Vendored
// CORRECT_ERROR_TYPES
|
|
// EXPECTED_ERROR(kotlin:9:5) cannot find symbol
|
|
// 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. |