[AA] AbstractSymbolTest: add assertion on redundant directive

^KT-54311
This commit is contained in:
Dmitrii Gridin
2022-10-05 18:17:42 +02:00
committed by Space Team
parent 3c2e0cb3b9
commit 119f6858cd
6 changed files with 48 additions and 22 deletions
@@ -1,5 +1,3 @@
// DO_NOT_CHECK_SYMBOL_RESTORE
class A {
val i: Int
init {
@@ -1,5 +1,4 @@
// WITH_STDLIB
// DO_NOT_CHECK_SYMBOL_RESTORE
fun x() {
val a = <caret>ArrayList(listOf(1))
@@ -1,5 +1,3 @@
// DO_NOT_CHECK_SYMBOL_RESTORE
inline fun <T, R> T.use(block: (T) -> R): R {
return block(this)
}
@@ -1,4 +1,3 @@
// DO_NOT_CHECK_SYMBOL_RESTORE
package test
class SomeClass
@@ -1,4 +1,3 @@
// DO_NOT_CHECK_SYMBOL_RESTORE
package test
class SomeClass