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.
9 lines
228 B
Kotlin
Vendored
9 lines
228 B
Kotlin
Vendored
// EXPECTED_ERROR(kotlin:8:1) cannot find symbol
|
|
// EXPECTED_ERROR(other:-1:-1) 'WHI-TE' is an invalid Java enum value name
|
|
|
|
enum class Color {
|
|
BLACK, `WHI-TE`
|
|
}
|
|
|
|
@Anno(Color.`WHI-TE`)
|
|
annotation class Anno(val color: Color) |