Fix error instead of muting it in kapt tests
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
// NON_EXISTENT_CLASS
|
// NON_EXISTENT_CLASS
|
||||||
// NO_VALIDATION
|
// NO_VALIDATION
|
||||||
|
|
||||||
@Suppress("CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE")
|
@Suppress("UNRESOLVED_REFERENCE")
|
||||||
object NonExistentType {
|
object NonExistentType {
|
||||||
val a: ABCDEF? = null
|
val a: ABCDEF? = null
|
||||||
val b: List<ABCDEF>? = null
|
val b: List<ABCDEF>? = null
|
||||||
val c: (ABCDEF) -> Unit = { f -> }
|
val c: (ABCDEF) -> Unit = { f: ABCDEF -> }
|
||||||
val d: ABCDEF<String, (List<ABCDEF>) -> Unit>? = null
|
val d: ABCDEF<String, (List<ABCDEF>) -> Unit>? = null
|
||||||
|
|
||||||
val foo: Foo get() = Foo()
|
val foo: Foo get() = Foo()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import java.lang.System;
|
import java.lang.System;
|
||||||
|
|
||||||
@kotlin.Suppress(names = {"CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE"})
|
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
|
||||||
@kotlin.Metadata()
|
@kotlin.Metadata()
|
||||||
public final class NonExistentType {
|
public final class NonExistentType {
|
||||||
@org.jetbrains.annotations.NotNull()
|
@org.jetbrains.annotations.NotNull()
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
// NON_EXISTENT_CLASS
|
// NON_EXISTENT_CLASS
|
||||||
// NO_VALIDATION
|
// NO_VALIDATION
|
||||||
|
|
||||||
@file:Suppress("CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE")
|
@file:Suppress("UNRESOLVED_REFERENCE")
|
||||||
|
|
||||||
typealias String2 = String
|
typealias String2 = String
|
||||||
typealias Coocoo = ABC
|
typealias Coocoo = ABC
|
||||||
@@ -11,7 +11,7 @@ typealias Coocoo3<X> = ABC<String, X>
|
|||||||
object NonExistentType {
|
object NonExistentType {
|
||||||
val a: ABCDEF? = null
|
val a: ABCDEF? = null
|
||||||
val b: List<ABCDEF>? = null
|
val b: List<ABCDEF>? = null
|
||||||
val c: (ABCDEF) -> Unit = { f -> }
|
val c: (ABCDEF) -> Unit = { f: ABCDEF -> }
|
||||||
val d: ABCDEF<String, (List<ABCDEF>) -> Unit>? = null
|
val d: ABCDEF<String, (List<ABCDEF>) -> Unit>? = null
|
||||||
|
|
||||||
lateinit var string2: String2
|
lateinit var string2: String2
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import java.lang.System;
|
import java.lang.System;
|
||||||
|
|
||||||
@kotlin.Suppress(names = {"CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE"})
|
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
|
||||||
@kotlin.Metadata()
|
@kotlin.Metadata()
|
||||||
public final class NonExistentClassWIthoutCorrectionKt {
|
public final class NonExistentClassWIthoutCorrectionKt {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user