[AA] AbstractSymbolTest: add check for parameters

^KT-54826
This commit is contained in:
Dmitrii Gridin
2022-11-18 11:08:44 +01:00
committed by Space Team
parent 1222d18b3d
commit 55ca2d608b
10 changed files with 16 additions and 5 deletions
@@ -1 +1,3 @@
// callable: kotlin/collections/List.get
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
@@ -1 +1,3 @@
// callable: kotlin/collections/List.listIterator
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
@@ -1,4 +1,4 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
annotation class Anno(val param1: String, val param2: Int)
@Anno(param1 = "param", 2)
@@ -1,3 +1,3 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
class A(val a: Int, b: String) {
}
@@ -1,4 +1,5 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
// WITH_STDLIB
class MyColor(val x: Int, val y: Int, val z: Int)
@@ -1,4 +1,5 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
data class P(val x: Int, val y: Int)
fun destruct(): Int {
@@ -1,4 +1,4 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
enum class Style(val value: String) {
SHEET("foo") {
@@ -1,4 +1,5 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
fun foo() {
val lam1 = { a: Int ->
val b = 1
@@ -1 +1,3 @@
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
val greeter = <caret>Runnable { println("Howdy") }