[KAPT] KT-65453 Disable generation of type annotations in Java stubs
A workaround for KT-65608 Merge-request: KT-MR-14236 Merged-by: Pavel Mikhailovskii <Pavel.Mikhailovskii@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
18c08eb9ff
commit
f81b1150b2
@@ -430,7 +430,7 @@ private class StubGenerator(
|
||||
|
||||
private fun Printer.printType(type: PsiType) {
|
||||
recordErrorTypes(type)
|
||||
printTypeSignature(type, true)
|
||||
printTypeSignature(type, false) // TODO: Set to true when KT-65608 is fixed
|
||||
}
|
||||
|
||||
private fun Printer.printTypeSignature(type: PsiType, annotated: Boolean) {
|
||||
|
||||
+6
@@ -511,6 +511,12 @@ public class KotlinKapt4ContextTestGenerated extends AbstractKotlinKapt4ContextT
|
||||
runTest("plugins/kapt4/../kapt3/kapt3-compiler/testData/converter/kt61729.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt65453.kt")
|
||||
public void testKt65453() throws Exception {
|
||||
runTest("plugins/kapt4/../kapt3/kapt3-compiler/testData/converter/kt65453.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lazyProperty.kt")
|
||||
public void testLazyProperty() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user