Fix error instead of muting it in kapt tests

This commit is contained in:
Nikolay Krasko
2021-12-14 16:51:37 +03:00
committed by teamcity
parent 5162ef31fc
commit e733aa21d5
4 changed files with 6 additions and 6 deletions
@@ -2,11 +2,11 @@
// NON_EXISTENT_CLASS
// NO_VALIDATION
@Suppress("CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE")
@Suppress("UNRESOLVED_REFERENCE")
object NonExistentType {
val a: 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 foo: Foo get() = Foo()
@@ -1,6 +1,6 @@
import java.lang.System;
@kotlin.Suppress(names = {"CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE"})
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
@kotlin.Metadata()
public final class NonExistentType {
@org.jetbrains.annotations.NotNull()
@@ -1,7 +1,7 @@
// NON_EXISTENT_CLASS
// NO_VALIDATION
@file:Suppress("CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE")
@file:Suppress("UNRESOLVED_REFERENCE")
typealias String2 = String
typealias Coocoo = ABC
@@ -11,7 +11,7 @@ typealias Coocoo3<X> = ABC<String, X>
object NonExistentType {
val a: 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
lateinit var string2: String2
@@ -1,6 +1,6 @@
import java.lang.System;
@kotlin.Suppress(names = {"CANNOT_INFER_PARAMETER_TYPE", "UNRESOLVED_REFERENCE"})
@kotlin.Suppress(names = {"UNRESOLVED_REFERENCE"})
@kotlin.Metadata()
public final class NonExistentClassWIthoutCorrectionKt {
}