Kapt: Replace original Javac diagnostic messages with those with Kotlin location mapped
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.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// CORRECT_ERROR_TYPES
|
||||
// EXPECTED_ERROR(8;5) cannot find symbol (Kotlin location: /maxErrorCount.kt: (9, 5))
|
||||
// EXPECTED_ERROR(kotlin:9:5) cannot find symbol
|
||||
// JAVAC_OPTION -Xmaxerrs=1
|
||||
|
||||
@file:Suppress("UNRESOLVED_REFERENCE")
|
||||
|
||||
Reference in New Issue
Block a user