From 9d862aaa1dbc59d1f0499182056343db49c60a63 Mon Sep 17 00:00:00 2001 From: "anastasiia.spaseeva" Date: Mon, 25 May 2020 22:02:58 +0300 Subject: [PATCH] [Spec tests] Remove spec info from fir tests --- .../conditional-expressions/p-1/neg/1.1.fir.kt | 9 --------- .../conditional-expressions/p-1/neg/1.2.fir.kt | 9 --------- .../conditional-expressions/p-1/neg/1.3.fir.kt | 9 --------- .../conditional-expressions/p-1/neg/1.4.fir.kt | 9 --------- .../conditional-expressions/p-1/neg/2.1.fir.kt | 10 ---------- .../abstract-classes/p-1/neg/1.1.fir.kt | 10 ---------- .../abstract-classes/p-1/neg/2.1.fir.kt | 10 ---------- .../abstract-classes/p-2/neg/1.1.fir.kt | 9 --------- .../abstract-classes/p-2/neg/1.10.fir.kt | 11 ----------- .../abstract-classes/p-2/neg/1.2.fir.kt | 9 --------- .../abstract-classes/p-2/neg/1.3.fir.kt | 9 --------- .../abstract-classes/p-2/neg/1.4.fir.kt | 9 --------- .../abstract-classes/p-2/neg/1.5.fir.kt | 10 ---------- .../abstract-classes/p-2/neg/1.6.fir.kt | 11 ----------- .../abstract-classes/p-2/neg/1.7.fir.kt | 10 ---------- .../abstract-classes/p-2/neg/1.8.fir.kt | 13 ------------- .../abstract-classes/p-2/neg/1.9.fir.kt | 11 ----------- .../abstract-classes/p-2/pos/1.2.fir.kt | 11 ----------- .../abstract-classes/p-2/pos/1.3.fir.kt | 11 ----------- .../additive-expression/p-4/pos/1.1.fir.kt | 12 ------------ .../kotlin.nothing-1/p-1/pos/1.1.fir.kt | 10 ---------- .../comparison-expressions/p-1/neg/2.1.fir.kt | 10 ---------- .../comparison-expressions/p-4/neg/1.1.fir.kt | 10 ---------- .../conditional-expression/p-6/neg/1.1.fir.kt | 10 ---------- .../boolean-literals/p-1/neg/3.1.fir.kt | 10 ---------- .../character-literals/p-1/neg/1.1.fir.kt | 14 -------------- .../character-literals/p-4/neg/1.1.fir.kt | 12 ------------ .../binary-integer-literals/p-1/neg/1.1.fir.kt | 9 --------- .../binary-integer-literals/p-1/neg/2.1.fir.kt | 9 --------- .../binary-integer-literals/p-1/neg/2.3.fir.kt | 9 --------- .../p-1/neg/1.1.fir.kt | 9 --------- .../p-1/neg/2.1.fir.kt | 9 --------- .../p-1/neg/2.4.fir.kt | 9 --------- .../real-literals/p-1/neg/1.1.fir.kt | 9 --------- .../real-literals/p-1/neg/3.1.fir.kt | 9 --------- .../real-literals/p-1/pos/1.2.fir.kt | 9 --------- .../real-literals/p-1/pos/3.2.fir.kt | 9 --------- .../real-literals/p-2/neg/1.1.fir.kt | 9 --------- .../real-literals/p-2/neg/1.2.fir.kt | 9 --------- .../real-literals/p-2/neg/1.3.fir.kt | 9 --------- .../real-literals/p-2/neg/1.4.fir.kt | 9 --------- .../real-literals/p-2/pos/1.1.fir.kt | 9 --------- .../real-literals/p-2/pos/1.2.fir.kt | 9 --------- .../real-literals/p-3/neg/1.1.fir.kt | 9 --------- .../real-literals/p-3/neg/1.2.fir.kt | 9 --------- .../real-literals/p-3/neg/2.1.fir.kt | 9 --------- .../real-literals/p-3/pos/1.1.fir.kt | 9 --------- .../real-literals/p-3/pos/1.2.fir.kt | 9 --------- .../real-literals/p-3/pos/1.5.fir.kt | 9 --------- .../real-literals/p-3/pos/2.1.fir.kt | 9 --------- .../real-literals/p-3/pos/2.2.fir.kt | 9 --------- .../real-literals/p-3/pos/2.3.fir.kt | 9 --------- .../real-literals/p-4/neg/1.1.fir.kt | 9 --------- .../real-literals/p-4/neg/1.2.fir.kt | 9 --------- .../real-literals/p-4/neg/2.1.fir.kt | 9 --------- .../real-literals/p-4/neg/2.2.fir.kt | 9 --------- .../real-literals/p-4/neg/2.3.fir.kt | 9 --------- .../real-literals/p-4/pos/1.1.fir.kt | 9 --------- .../real-literals/p-4/pos/1.2.fir.kt | 9 --------- .../real-literals/p-4/pos/1.3.fir.kt | 9 --------- .../real-literals/p-4/pos/1.4.fir.kt | 9 --------- .../real-literals/p-4/pos/1.5.fir.kt | 9 --------- .../real-literals/p-5/pos/1.1.fir.kt | 10 ---------- .../real-literals/p-5/pos/1.2.fir.kt | 10 ---------- .../real-literals/p-5/pos/1.3.fir.kt | 10 ---------- .../real-literals/p-5/pos/1.4.fir.kt | 10 ---------- .../real-literals/p-5/pos/1.5.fir.kt | 10 ---------- .../p-1/neg/1.1.fir.kt | 9 --------- .../p-1/neg/1.2.fir.kt | 9 --------- .../p-1/neg/1.3.fir.kt | 9 --------- .../p-1/neg/2.1.fir.kt | 10 ---------- .../p-1/neg/2.2.fir.kt | 10 ---------- .../p-1/neg/2.3.fir.kt | 10 ---------- .../p-1/neg/2.4.fir.kt | 10 ---------- .../p-1/neg/2.5.fir.kt | 10 ---------- .../p-1/pos/2.2.fir.kt | 10 ---------- .../p-1/pos/2.3.fir.kt | 10 ---------- .../p-1/pos/2.4.fir.kt | 10 ---------- .../elvis-operator-expression/p-3/pos/1.1.fir.kt | 11 ----------- .../break-expression/p-1/neg/1.1.fir.kt | 10 ---------- .../continue-expression/p-1/neg/1.1.fir.kt | 10 ---------- .../return-expressions/p-1/pos/1.1.fir.kt | 10 ---------- .../return-expressions/p-4/neg/1.1.fir.kt | 9 --------- .../p-2/neg/1.1.fir.kt | 11 ----------- .../p-2/pos/1.1.fir.kt | 11 ----------- .../p-2/neg/1.1.fir.kt | 11 ----------- .../p-2/pos/1.1.fir.kt | 11 ----------- .../multiplicative-expression/p-5/pos/1.1.fir.kt | 10 ---------- .../p-2/pos/1.1.fir.kt | 9 --------- .../p-3/pos/1.1.fir.kt | 11 ----------- .../p-4/neg/1.1.fir.kt | 9 --------- .../p-5/neg/2.1.fir.kt | 9 --------- .../p-4/neg/1.1.fir.kt | 9 --------- .../p-5/neg/2.1.fir.kt | 9 --------- .../range-expression/p-4/pos/1.1.fir.kt | 12 ------------ .../try-expression/p-1/neg/3.1.fir.kt | 9 --------- .../try-expression/p-1/neg/4.1.fir.kt | 9 --------- .../try-expression/p-1/pos/1.1.fir.kt | 10 ---------- .../try-expression/p-2/pos/2.1.fir.kt | 11 ----------- .../try-expression/p-5/pos/1.1.fir.kt | 10 ---------- .../try-expression/p-5/pos/2.1.fir.kt | 10 ---------- .../try-expression/p-8/neg/1.1.fir.kt | 9 --------- .../p-2/neg/1.1.fir.kt | 9 --------- .../p-2/neg/1.2.fir.kt | 9 --------- .../p-2/neg/10.1.fir.kt | 10 ---------- .../p-2/neg/10.2.fir.kt | 10 ---------- .../p-2/neg/10.3.fir.kt | 10 ---------- .../p-2/neg/3.1.fir.kt | 9 --------- .../p-2/neg/6.1.fir.kt | 10 ---------- .../p-2/pos/1.3.fir.kt | 10 ---------- .../p-2/pos/10.2.fir.kt | 10 ---------- .../p-2/pos/10.3.fir.kt | 10 ---------- .../p-2/pos/6.1.fir.kt | 10 ---------- .../when-expression/p-1/pos/3.1.fir.kt | 9 --------- .../when-expression/p-2/neg/2.1.fir.kt | 10 ---------- .../when-expression/p-2/neg/2.2.fir.kt | 10 ---------- .../when-expression/p-2/pos/1.1.fir.kt | 10 ---------- .../when-expression/p-2/pos/1.2.fir.kt | 9 --------- .../when-expression/p-2/pos/2.1.fir.kt | 10 ---------- .../when-expression/p-2/pos/2.3.fir.kt | 12 ------------ .../when-expression/p-3/neg/2.1.fir.kt | 9 --------- .../when-expression/p-4/neg/1.1.fir.kt | 9 --------- .../when-expression/p-4/pos/1.1.fir.kt | 9 --------- .../when-expression/p-5/pos/1.1.fir.kt | 10 ---------- .../when-expression/p-5/pos/1.2.fir.kt | 9 --------- .../when-expression/p-6/neg/1.1.fir.kt | 10 ---------- .../when-expression/p-6/neg/1.2.fir.kt | 10 ---------- .../when-expression/p-6/neg/11.1.fir.kt | 9 --------- .../when-expression/p-6/neg/12.1.fir.kt | 9 --------- .../when-expression/p-6/neg/3.1.fir.kt | 10 ---------- .../when-expression/p-6/neg/3.2.fir.kt | 10 ---------- .../when-expression/p-6/neg/7.1.fir.kt | 9 --------- .../when-expression/p-6/pos/1.1.fir.kt | 10 ---------- .../when-expression/p-6/pos/1.2.fir.kt | 10 ---------- .../when-expression/p-6/pos/1.4.fir.kt | 10 ---------- .../when-expression/p-6/pos/10.1.fir.kt | 10 ---------- .../when-expression/p-6/pos/10.2.fir.kt | 10 ---------- .../when-expression/p-6/pos/11.1.fir.kt | 9 --------- .../p-6/pos/1.1.fir.kt | 14 -------------- .../p-6/pos/2.2.fir.kt | 15 --------------- .../p-6/pos/2.4.fir.kt | 15 --------------- .../p-1/pos/2.1.fir.kt | 12 ------------ .../p-1/pos/2.1.fir.kt | 12 ------------ .../p-1/pos/2.17.fir.kt | 12 ------------ .../p-5/neg/2.3.fir.kt | 14 -------------- .../p-5/neg/2.4.fir.kt | 16 ---------------- .../p-5/neg/2.5.fir.kt | 14 -------------- .../infix-function-call/p-2/neg/1.1.fir.kt | 11 ----------- .../infix-function-call/p-2/neg/1.2.fir.kt | 13 ------------- .../infix-function-call/p-2/neg/1.3.fir.kt | 13 ------------- .../infix-function-call/p-2/neg/1.4.fir.kt | 12 ------------ .../infix-function-call/p-2/neg/4.5.fir.kt | 12 ------------ .../infix-function-call/p-2/pos/4.1.fir.kt | 12 ------------ .../infix-function-call/p-2/pos/4.3.fir.kt | 13 ------------- .../operator-call/p-2/pos/3.2.fir.kt | 12 ------------ .../operator-call/p-2/pos/3.3.fir.kt | 12 ------------ .../operator-call/p-2/pos/3.4.fir.kt | 12 ------------ .../operator-call/p-2/pos/3.5.fir.kt | 12 ------------ .../operator-call/p-2/pos/3.6.fir.kt | 12 ------------ .../operator-call/p-4/neg/1.1.fir.kt | 9 --------- .../operator-call/p-4/pos/1.1.fir.kt | 9 --------- .../receivers/p-5/pos/3.1.fir.kt | 11 ----------- .../receivers/p-5/pos/5.1.fir.kt | 11 ----------- .../operator-assignments/p-2/neg/1.1.fir.kt | 13 ------------- .../statements/assignments/p-1/neg/2.1.fir.kt | 10 ---------- .../statements/assignments/p-2/neg/1.1.fir.kt | 11 ----------- .../statements/assignments/p-2/neg/1.2.fir.kt | 12 ------------ .../do-while-loop-statement/p-3/neg/1.1.fir.kt | 10 ---------- .../while-loop-statement/p-3/neg/1.1.fir.kt | 11 ----------- .../smart-cast-sink-stability/p-5/neg/1.1.fir.kt | 12 ------------ .../smart-cast-sink-stability/p-5/pos/1.1.fir.kt | 12 ------------ .../introduction-1/p-6/neg/2.1.fir.kt | 9 --------- .../introduction-1/p-6/neg/2.2.fir.kt | 9 --------- .../introduction-1/p-6/neg/2.3.fir.kt | 9 --------- .../introduction-1/p-8/pos/1.1.fir.kt | 11 ----------- .../introduction-1/p-8/pos/2.1.fir.kt | 10 ---------- .../built-in-types/kotlin.any/p-1/pos/1.2.fir.kt | 11 ----------- .../kotlin.nothing/p-1/neg/2.1.fir.kt | 11 ----------- .../annotations/annotation-classes/neg/1.fir.kt | 10 ---------- .../annotations/type-annotations/neg/1.fir.kt | 9 --------- .../annotations/type-annotations/neg/10.fir.kt | 9 --------- .../annotations/type-annotations/neg/11.fir.kt | 10 ---------- .../annotations/type-annotations/neg/2.fir.kt | 9 --------- .../annotations/type-annotations/neg/3.fir.kt | 10 ---------- .../annotations/type-annotations/neg/4.fir.kt | 9 --------- .../annotations/type-annotations/neg/5.fir.kt | 9 --------- .../annotations/type-annotations/neg/6.fir.kt | 9 --------- .../annotations/type-annotations/neg/7.fir.kt | 9 --------- .../annotations/type-annotations/neg/8.fir.kt | 9 --------- .../annotations/type-annotations/neg/9.fir.kt | 9 --------- .../contracts/analysis/common/neg/1.fir.kt | 8 -------- .../contracts/analysis/common/pos/1.fir.kt | 8 -------- .../controlFlow/initialization/neg/1.fir.kt | 9 --------- .../controlFlow/initialization/neg/2.fir.kt | 9 --------- .../controlFlow/initialization/neg/3.fir.kt | 9 --------- .../controlFlow/initialization/neg/4.fir.kt | 9 --------- .../controlFlow/initialization/neg/5.fir.kt | 9 --------- .../controlFlow/initialization/neg/6.fir.kt | 11 ----------- .../controlFlow/initialization/pos/3.fir.kt | 9 --------- .../controlFlow/initialization/pos/4.fir.kt | 9 --------- .../controlFlow/initialization/pos/6.fir.kt | 11 ----------- .../controlFlow/unreachableCode/neg/1.fir.kt | 9 --------- .../controlFlow/unreachableCode/pos/1.fir.kt | 9 --------- .../controlFlow/unreachableCode/pos/3.fir.kt | 9 --------- .../controlFlow/unreachableCode/pos/4.fir.kt | 9 --------- .../controlFlow/unreachableCode/pos/5.fir.kt | 9 --------- .../controlFlow/unreachableCode/pos/6.fir.kt | 9 --------- .../controlFlow/unreachableCode/pos/7.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/1.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/10.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/neg/11.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/12.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/neg/13.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/14.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/15.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/neg/2.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/3.fir.kt | 8 -------- .../contracts/analysis/smartcasts/neg/4.fir.kt | 8 -------- .../contracts/analysis/smartcasts/neg/5.fir.kt | 8 -------- .../contracts/analysis/smartcasts/neg/6.fir.kt | 8 -------- .../contracts/analysis/smartcasts/neg/7.fir.kt | 8 -------- .../contracts/analysis/smartcasts/neg/8.fir.kt | 9 --------- .../contracts/analysis/smartcasts/neg/9.fir.kt | 9 --------- .../contracts/analysis/smartcasts/pos/1.fir.kt | 9 --------- .../contracts/analysis/smartcasts/pos/10.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/pos/11.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/pos/12.fir.kt | 11 ----------- .../contracts/analysis/smartcasts/pos/13.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/pos/14.fir.kt | 10 ---------- .../contracts/analysis/smartcasts/pos/2.fir.kt | 9 --------- .../contracts/analysis/smartcasts/pos/3.fir.kt | 8 -------- .../contracts/analysis/smartcasts/pos/4.fir.kt | 8 -------- .../contracts/analysis/smartcasts/pos/5.fir.kt | 8 -------- .../contracts/analysis/smartcasts/pos/6.fir.kt | 8 -------- .../contracts/analysis/smartcasts/pos/7.fir.kt | 8 -------- .../contracts/analysis/smartcasts/pos/8.fir.kt | 9 --------- .../contracts/analysis/smartcasts/pos/9.fir.kt | 9 --------- .../contractBuilder/common/neg/1.fir.kt | 8 -------- .../contractBuilder/common/neg/10.fir.kt | 9 --------- .../contractBuilder/common/neg/11.fir.kt | 9 --------- .../contractBuilder/common/neg/12.fir.kt | 9 --------- .../contractBuilder/common/neg/13.fir.kt | 9 --------- .../contractBuilder/common/neg/14.fir.kt | 10 ---------- .../contractBuilder/common/neg/16.fir.kt | 9 --------- .../contractBuilder/common/neg/17.fir.kt | 10 ---------- .../contractBuilder/common/neg/2.fir.kt | 8 -------- .../contractBuilder/common/neg/3.fir.kt | 8 -------- .../contractBuilder/common/neg/4.fir.kt | 8 -------- .../contractBuilder/common/neg/5.fir.kt | 8 -------- .../contractBuilder/common/neg/6.fir.kt | 9 --------- .../contractBuilder/common/neg/7.fir.kt | 10 ---------- .../contractBuilder/common/neg/8.fir.kt | 8 -------- .../contractBuilder/common/neg/9.fir.kt | 8 -------- .../effects/callsInPlace/neg/1.fir.kt | 9 --------- .../effects/callsInPlace/neg/2.fir.kt | 9 --------- .../contractBuilder/effects/common/neg/1.fir.kt | 9 --------- .../contractBuilder/effects/returns/neg/1.fir.kt | 9 --------- .../contractBuilder/effects/returns/neg/2.fir.kt | 8 -------- .../contractBuilder/effects/returns/neg/3.fir.kt | 10 ---------- .../contractBuilder/effects/returns/neg/4.fir.kt | 9 --------- .../contractBuilder/effects/returns/neg/5.fir.kt | 9 --------- .../contractBuilder/effects/returns/neg/6.fir.kt | 8 -------- .../contractBuilder/effects/returns/neg/7.fir.kt | 9 --------- .../contractBuilder/effects/returns/pos/1.fir.kt | 9 --------- .../declarations/contractFunction/neg/1.fir.kt | 8 -------- .../declarations/contractFunction/neg/2.fir.kt | 10 ---------- .../declarations/contractFunction/neg/4.fir.kt | 9 --------- .../declarations/contractFunction/pos/1.fir.kt | 8 -------- .../diagnostics/notLinked/dfa/neg/1.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/10.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/11.fir.kt | 11 ----------- .../diagnostics/notLinked/dfa/neg/12.fir.kt | 11 ----------- .../diagnostics/notLinked/dfa/neg/13.fir.kt | 11 ----------- .../diagnostics/notLinked/dfa/neg/14.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/15.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/16.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/17.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/18.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/19.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/2.fir.kt | 8 -------- .../diagnostics/notLinked/dfa/neg/20.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/21.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/22.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/23.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/24.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/25.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/26.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/27.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/28.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/29.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/3.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/30.fir.kt | 10 ---------- .../diagnostics/notLinked/dfa/neg/31.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/32.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/33.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/34.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/35.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/36.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/37.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/38.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/39.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/4.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/40.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/41.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/42.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/43.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/44.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/45.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/5.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/6.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/7.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/8.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/neg/9.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/1.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/10.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/11.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/12.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/13.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/14.fir.kt | 8 -------- .../diagnostics/notLinked/dfa/pos/15.fir.kt | 10 ---------- .../diagnostics/notLinked/dfa/pos/16.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/17.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/18.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/19.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/2.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/20.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/21.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/22.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/23.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/24.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/25.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/26.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/27.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/28.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/29.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/3.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/30.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/31.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/32.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/33.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/34.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/35.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/36.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/37.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/38.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/39.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/4.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/40.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/41.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/42.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/43.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/44.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/45.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/46.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/47.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/48.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/49.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/5.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/50.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/51.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/52.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/53.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/54.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/55.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/56.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/57.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/58.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/59.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/6.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/60.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/61.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/62.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/63.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/64.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/65.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/66.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/67.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/68.fir.kt | 11 ----------- .../diagnostics/notLinked/dfa/pos/69.fir.kt | 11 ----------- .../diagnostics/notLinked/dfa/pos/7.fir.kt | 10 ---------- .../diagnostics/notLinked/dfa/pos/70.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/71.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/72.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/73.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/8.fir.kt | 9 --------- .../diagnostics/notLinked/dfa/pos/9.fir.kt | 9 --------- .../local-variables/type-parameters/neg/1.fir.kt | 10 ---------- .../infix-function-call/pos/1.fir.kt | 10 ---------- .../infix-function-call/pos/2.fir.kt | 10 ---------- .../infix-function-call/pos/3.fir.kt | 10 ---------- .../infix-function-call/pos/4.fir.kt | 11 ----------- 391 files changed, 3742 deletions(-) diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt index eec210e47f0..7ddc8f0f5a1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -IMPLICIT_CAST_TO_ANY -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: check if-expressions must have both branches. - */ - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt index 27b93598ef0..775c449d4a2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.2.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -IMPLICIT_CAST_TO_ANY -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: check if-expressions must have both branches. - */ - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt index 5d135a1f9fb..1767cf6d9e7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.3.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNREACHABLE_CODE -IMPLICIT_CAST_TO_ANY -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: check if-expressions must have both branches. (attempt to pass Nothing to if-condition without 'else' key word) - */ - fun throwExc(b: Boolean): Boolean { if (b) throw Exception() else return false diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt index f2e9edf0577..a2dcc32dfcf 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/1.4.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNREACHABLE_CODE -IMPLICIT_CAST_TO_ANY -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: check if-expressions must have both branches. (attempt to pass Nothing to if-condition with 'else' key word) - */ - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt index 1585bd5d2d3..fd3905ad21e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/control--and-data-flow-analysis/control-flow-graph/expressions-1/conditional-expressions/p-1/neg/2.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: check any if-statement in kotlin may be trivially turned into such an expression by replacing the missing branch with a kotlin.Unit object expression. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt index bcd542901e0..35f4087aa11 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 - * PRIMARY LINKS: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: check abstract classes can have abstract not implemented members - */ - // TESTCASE NUMBER: 1 abstract class Base() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt index 2062a3273dc..20f4402a16f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-1/neg/2.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 2 - * PRIMARY LINKS: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: check abstract classes cannot be instantiated directly - */ - // TESTCASE NUMBER: 1 abstract class Base0() diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt index e4fc8d5bd9e..d07c8bf1aca 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - */ - // TESTCASE NUMBER: 1 open abstract class Base { diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt index 9ff672d5a5e..71081ce10e0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.10.fir.kt @@ -3,17 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 - * NUMBER: 10 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * ISSUES: KT-27825 - */ - // TESTCASE NUMBER: 1 class Case1() : BaseCase1(), InterfaceCase1 {} diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt index febec6aa097..1bb1365eb9d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.2.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Abstract classes may contain abstract members, which should be implemented in an anonymous class that inherits from that abstract type - */ - // TESTCASE NUMBER: 1 private abstract class Base { diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt index f5791773730..4b503aa351c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.3.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: attempt to implement abstract members with invalid types - */ - // TESTCASE NUMBER: 1 abstract class Base { abstract val a: CharSequence diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt index 020420e69ee..9fed5a61016 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.4.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: Abstract classes may contain abstract members, which should be implemented in an inner class that inherits from that abstract type - */ - class MainClass { abstract class Base1() { abstract val a: CharSequence diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt index 0c9bc126c45..d863115e225 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.5.fir.kt @@ -3,16 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 5 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - */ - - // FILE: base/BaseJava.java package base; diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt index c928186c92c..6daab747dd9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.6.fir.kt @@ -3,17 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 6 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * ISSUES: KT-27825 - */ - - // FILE: base/BaseJava.java package base; diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt index 3742f54957d..499fc322cda 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.7.fir.kt @@ -3,16 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 7 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * ISSUES: KT-27825 - */ - // MODULE: base // FILE: BaseKotlin.kt package base diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt index 89f80c3a668..7a00768ea8b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.8.fir.kt @@ -3,19 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 - * NUMBER: 8 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * ISSUES: KT-27825 - */ - - - // MODULE: base // FILE: AbstractClassCase1.kt package base diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt index 66c7da4a98b..b8ddea1d794 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/neg/1.9.fir.kt @@ -3,17 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: inheritance, overriding -> paragraph 7 -> sentence 1 - * NUMBER: 9 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * ISSUES: KT-27825, KT-35325 - */ - // MODULE: libModule // FILE: libModule/BaseJava1.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt index 1a9c275fb89..c16b9d97477 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.2.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * HELPERS: checkType, functions - * ISSUES: KT-27825 - */ - // TESTCASE NUMBER: 1 fun case1(){ diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt index 7f0e9289302..a7510d58b1d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.3.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: declarations, classifier-declaration, class-declaration, abstract-classes -> paragraph 2 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: Abstract classes may contain one or more abstract members, which should be implemented in a subtype of this abstract class - * HELPERS: checkType, functions - */ - - // TESTCASE NUMBER: 1 // NOTE: attempt to implement inner abstract class as anonymous class open class MainCase1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt index 0b691e48193..a191487dca5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/additive-expression/p-4/pos/1.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, additive-expression -> paragraph 4 -> sentence 1 - * PRIMARY LINKS: expressions, additive-expression -> paragraph 4 -> sentence 2 - * overloadable-operators -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The return type of these functions is not restricted. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 class Case1(var a: Int) { operator fun minus(o: Int): Case1 { TODO() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt index cb3ecb2cbc8..a271950dd6c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.nothing-1/p-1/pos/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: expressions, built-in-types-and-their-semantics, kotlin.nothing-1 -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: check the type of jump expressions is Nothing and code placed on the left side of expression will never be executed - */ - - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt index 0f0ef6b2066..65a612bf9e9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-1/neg/2.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-220 - * MAIN LINK: expressions, comparison-expressions -> paragraph 1 -> sentence 2 - * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: <, >, <= and >= operators are overloadable - */ - // TESTCASE NUMBER: 1 class A(val a: Int) { fun compareTo(other: A): Int = run { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt index 0cfa0da91f3..884ce5531ea 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/comparison-expressions/p-4/neg/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, comparison-expressions -> paragraph 4 -> sentence 1 - * PRIMARY LINKS: overloadable-operators -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The compareTo operator function must have return type kotlin.Int - */ - // TESTCASE NUMBER: 1 class Case1(val a: Int) { var isCompared = false diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt index e72c9e294a2..dbf424495ff 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/conditional-expression/p-6/neg/1.1.fir.kt @@ -3,16 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, conditional-expression -> paragraph 6 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The type of the condition expression must be a subtype of kotlin.Boolean - * HELPERS: checkType - */ - // MODULE: libModule // FILE: libModule/JavaContainer.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt index 5a409c4aebf..af4d4e862de 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/boolean-literals/p-1/neg/3.1.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, boolean-literals -> paragraph 1 -> sentence 3 - * NUMBER: 1 - * DESCRIPTION: Checking of type for Boolean values - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { true checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt index d3b46fb72ab..6fae0c6659e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-1/neg/1.1.fir.kt @@ -2,20 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 1 - * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 1 -> sentence 2 - * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 1 - * expressions, constant-literals, character-literals -> paragraph 2 -> sentence 2 - * expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: A character literal defines a constant holding a unicode character value - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case1() { val c = '' diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt index 7672b1182e9..d4e44fac517 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/character-literals/p-4/neg/1.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, constant-literals, character-literals -> paragraph 4 -> sentence 1 - * PRIMARY LINKS: expressions, constant-literals, character-literals -> paragraph 5 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: to define a character the unicode codepoint escaped symbol \u could be used with followed by exactly four hexadecimal digits. - * HELPERS: checkType - */ - - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt index 4d6b0ad6678..7538b2df1f8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Binary integer literals with the prefix only. - */ - // TESTCASE NUMBER: 1 val value_1 = 0b diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt index 6782b1ebc58..cb7d053635a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Binary integer literals with an underscore after the prefix. - */ - // TESTCASE NUMBER: 1 val value_1 = 0b_1110100000 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt index b418f166951..e10f2b06b00 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/binary-integer-literals/p-1/neg/2.3.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, integer-literals, binary-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: Binary integer literals with an underscore in the last position. - */ - // TESTCASE NUMBER: 1 val value_1 = 0b0_1_1_0_1_1_____ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt index 9157fe57da6..84b2bd03206 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Hexadecimal integer literals with the prefix only. - */ - // TESTCASE NUMBER: 1 val value_1 = 0x diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt index e2881b51b85..388121aba12 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Hexadecimal integer literals with an underscore after the prefix. - */ - // TESTCASE NUMBER: 1 val value_1 = 0x_1234567890 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt index e5556e53e20..322ea313c4c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.4.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, integer-literals, hexadecimal-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 4 - * DESCRIPTION: Hexadecimal integer literals with an underscore in the last position. - */ - // TESTCASE NUMBER: 1 val value_1 = 0x3_4_5_6_7_8_____ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt index 74e29981890..11100eaa0d1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Real literals separeted by comments. - */ - // TESTCASE NUMBER: 1 val value_1 = 0./**/99901 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt index d617bc1ac45..58b37b5165b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/neg/3.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 - * NUMBER: 1 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) separeted by comments. - */ - // TESTCASE NUMBER: 1 val value_1 = 0./**/99901f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt index 973c011052b..2f4066c0e61 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals with a many digits in a whole-number part and a fraction part (including conforms). - */ - // TESTCASE NUMBER: 1 val value_1 = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt index 53c1cf252ed..b446d6bd16e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-1/pos/3.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 1 -> sentence 3 - * NUMBER: 2 - * DESCRIPTION: Real literals suffixed by f/F (the float suffix) with a many digits in a whole-number part and a fraction part (including conforms). - */ - // TESTCASE NUMBER: 1 val value_1 = 0.000000000000000000000000000000000000000000001f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt index 0178fb2682d..fa389fcbc1d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.1.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Real literals without digits after an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0E diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt index dfc0ff928a4..a989d87fa8b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals with a not allowed exponent mark at the beginning. - */ - // TESTCASE NUMBER: 1 val value_1 = E0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt index dde59740569..6522cfa280b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.3.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) with a not allowed exponent mark at the beginning. - */ - // TESTCASE NUMBER: 1 val value_1 = E0f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt index 60e045c32c3..8ecced4785a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/neg/1.4.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark without digits after it. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0EF diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt index e0d7072eca2..9abd9df3635 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Simple real literals with an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0e0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt index 1b2d725e232..a6ae9d078f1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-2/pos/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0e0f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt index 11835370258..98d3ada927a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.1.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark without digits after it. - */ - // TESTCASE NUMBER: 1 val value_1 = .0E diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt index 2702d53ff44..21e2a25b34a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/1.2.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals with omitted a whole-number part, suffixed by f/F (float suffix) followed by an exponent mark without digits. - */ - // TESTCASE NUMBER: 1 val value_1 = .0EF diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt index 2e4a437b84a..c877cc64b74 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/neg/2.1.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark without digits after it. - */ - // TESTCASE NUMBER: 1 val value_1 = 0e diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt index 0f43c558751..0d250978e98 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Simple real literals with omitted a whole-number part. - */ - // TESTCASE NUMBER: 1 val value_1 = .0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt index 0439f5979c8..822b2bafa3a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals with omitted a whole-number part and an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = .0e0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt index c2197933e9d..2f52191c563 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/1.5.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 1 - * NUMBER: 5 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) with omitted a whole-number part and an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = .0e0f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt index 87f69fd3969..a95cde73a1e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Simple real literals with omitted a fraction part, suffixed by f/F (float suffix). - */ - // TESTCASE NUMBER: 1 val value_1 = 0F diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt index d30930a18f8..5417a9b1a04 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0e0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt index c0399ca5c48..60f2c4e45ff 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-3/pos/2.3.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 3 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: Real literals with omitted a fraction part and an exponent mark, suffixed by f/F (float suffix). - */ - // TESTCASE NUMBER: 1 val value_1 = 0e0f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt index 2ae50ec4f16..b65201b8d47 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.1.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Real literals without digits after an exponent mark and with undescores in the different pisitions. - */ - // TESTCASE NUMBER: 1 val value_1 = .0_0e- diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt index 8f63ca26480..e800d66076f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals with underscores at the end. - */ - // TESTCASE NUMBER: 1 val value_1= .0_0e-0___ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt index 92bc4c5b75c..90919897c15 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Real literals with underscores before an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0_E0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt index df2c7d5132d..60eedbdcd85 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.2.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: Real literals with underscores after an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0e___0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt index 00b08048741..c5ba12b6a9a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/neg/2.3.fir.kt @@ -1,13 +1,4 @@ // FIR_IGNORE -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: Real literals with underscores around an exponent mark. - */ - // TESTCASE NUMBER: 1 val value_1 = .0__e_0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt index f02f1059bdf..aeef3b7b48f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Real literals with underscores in a whole-number part and a fraction part. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0_0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt index 6b1b5383865..b2bd4ad96fc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) with underscores in a whole-number part and a fraction part. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0_0f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt index 68f2aa68abc..e9069df73ad 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.3.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: Real literals suffixed by f/F (float suffix) with an exponent mark and underscores in a whole-number part, a fraction part and an exponent part. - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0_0e1_0f diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt index 3ada161f99f..0f48b0be6ca 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.4.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: Real literals with an omitted whole-number part and underscores in a whole-number part, a fraction part and an exponent part. - */ - // TESTCASE NUMBER: 1 val value_1 = .0_0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt index c57daea199a..4cbe41b5306 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-4/pos/1.5.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 4 -> sentence 1 - * NUMBER: 5 - * DESCRIPTION: Real literals with an omitted fraction part and underscores in a whole-number part, a fraction part and an exponent part. - */ - // TESTCASE NUMBER: 1 val value_1 = 0_0F diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt index bbfac967046..1ee2f9a2dbc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.1.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: A type checking of a simple real literal (with/without underscores). - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 val value_1 = 0.1 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt index a7e6295faf0..8e6cf3c22fe 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.2.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: A type checking of a real literal with an exponent mark. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 val value_1 = 0.0e0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt index 84298aa5c8d..661b77b969e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.3.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: A type checking of a real literal with omitted a whole-number part. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 val value_1 = .0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt index 6d85f0f5722..9a1f6baa6b5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.4.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: A type checking of a real literal with omitted a whole-number part and an exponent mark. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 val value_1 = .0e0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt index 3810348b81f..53e0a6e19ac 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/real-literals/p-5/pos/1.5.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, real-literals -> paragraph 5 -> sentence 1 - * NUMBER: 5 - * DESCRIPTION: A type checking of a real literal with omitted a fraction part and an exponent mark. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 val value_1 = 0e0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt index dfdbec5c256..c280773ebf5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Binary and hexadecimal integer literals with a long literal mark only. - */ - // TESTCASE NUMBER: 1 val value_1 = 0bl diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt index 66f43a5277d..71f5a62b2e6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Various integer literals with a not allowed underscore before the long literal mark. - */ - // TESTCASE NUMBER: 1 val value_1 = 0b0_l diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt index d28e9ea3346..3daa75fa8eb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/1.3.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: Various integer literals with not allowed long literal mark in lower case. - */ - // TESTCASE NUMBER: 1 val value_1 = 0l diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt index 2e328bfe9d6..696be1a001a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Various integer literals with not allowed long literal mark in lower case (type checking). - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { 0l checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt index 3c698f0b6f3..d3e6a866657 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals with long literal mark. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { 0L checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt index 6125e645fd2..30aec196a78 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.3.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: Type checking (comparison with invalid types) of various integer literals. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { 0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt index 9b1bc70c5c5..2288e362f16 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.4.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 4 - * DESCRIPTION: Type checking (comparison with invalid types) of too a big integers. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { checkSubtype(-9223372036854775808L) diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt index e37f7de6227..4a1e8a96d9c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 5 - * DESCRIPTION: Check of integer type selection depends on the context (incopatible types). - * HELPERS: checkType - */ - // FILE: functions.kt package functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt index 18acd1bac43..6c3d05169a4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: Type checking of decimal integer literals. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { 0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt index dfe6c490064..576cd6457a8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.3.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: Type checking of hexadecimal integer literals. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { 0x0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt index 2ab9aab70b0..b2c9aad6c50 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/pos/2.4.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, constant-literals, the-types-for-integer-literals -> paragraph 1 -> sentence 2 - * NUMBER: 4 - * DESCRIPTION: Type checking of binary integer literals. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { 0b0 checkType { check() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt index 8005c6387ce..2df0cc8b8bb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/elvis-operator-expression/p-3/pos/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNREACHABLE_CODE -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, elvis-operator-expression -> paragraph 3 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The type of elvis operator expression is the least upper bound of the non-nullable variant of the type of the left-hand side expression and the type of the right-hand side expression. - * HELPERS: checkType - */ - - // TESTCASE NUMBER: 1 fun case1() { val x = null ?: getNull() diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt index 52308a2b987..0223b1726cc 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/break-expression/p-1/neg/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-222 - * MAIN LINK: expressions, jump-expressions, break-expression -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: A break expression is a jump expression allowed only within loop bodies. - */ - - // TESTCASE NUMBER: 1 fun case1() { val inputList = listOf(1, 2, 3) diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt index dafb4700cc8..e277a32f47e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/continue-expression/p-1/neg/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-222 - * MAIN LINK: expressions, jump-expressions, continue-expression -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: A continue expression is a jump expression allowed only within loop bodies. - */ - - // TESTCASE NUMBER: 1 fun case1() { val inputList = listOf(1, 2, 3) diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt index 44614ef5943..8c8d31fb44e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-1/pos/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-222 - * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case1() { val x = fooCase1() diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt index 1971de35bd0..e1d619972eb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/jump-expressions/return-expressions/p-4/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, jump-expressions, return-expressions -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: check returning is not allowed from run{...} - */ - // TESTCASE NUMBER: 1 // UNEXPECTED BEHAVIOUR // ISSUES : KT-35545 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt index 528b4cfb302..55f359e267b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean - * HELPERS: checkType - */ - // MODULE: libModule // FILE: libModule/JavaClass.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt index e795fb661cb..3f8fc30d091 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/pos/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: expressions, logical-conjunction-expression -> paragraph 2 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Both operands of a logical conjunction expression must have a type which is a subtype of kotlin.Boolean - * HELPERS: checkType - */ - // MODULE: libModule // FILE: libModule/JavaClass.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt index 994bec9f968..d59c58591be 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean, otherwise it is a type error. - * HELPERS: checkType - */ - // MODULE: libModule // FILE: libModule/JavaClass.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt index 30d98376b12..0ab07843503 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/pos/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: expressions, logical-disjunction-expression -> paragraph 2 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION:Both operands of a logical disjunction expression must have a type which is a subtype of kotlin.Boolean - * HELPERS: checkType - */ - // MODULE: libModule // FILE: libModule/JavaClass.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt index 2acb5f5d082..e90fc1a6d2e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/multiplicative-expression/p-5/pos/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, multiplicative-expression -> paragraph 5 -> sentence 1 - * PRIMARY LINKS: expressions, multiplicative-expression -> paragraph 5 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: The return type of these functions is not restricted. - * HELPERS: checkType - */ // TESTCASE NUMBER: 1 class Case1(var a: Int) { operator fun times(o: Int): Any? { TODO() } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt index 093a446570c..443aa03c8c4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-2/pos/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNREACHABLE_CODE -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: If the type of e is non-nullable, not-null assertion expression e!! has no effect. - */ - // MODULE: libModule // FILE: libModule/JavaClass.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt index 3c52dfd752f..9443862fcd6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNREACHABLE_CODE -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, not-null-assertion-expression -> paragraph 3 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The type of non-null assertion e!! expression is the non-nullable variant of the type of e. - * HELPERS: checkType - */ - - // MODULE: libModule // FILE: libModule/JavaClass.java package libModule; diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt index 29f51b6762a..f0e8d2ddb2e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 4 -> sentence 1 - * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: check unsafe prefix decrement expression call for an assignable expression - */ class A() { var i = 0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt index 553313fb8f0..96ac76ea7a6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-5/neg/2.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: expressions, prefix-expressions, prefix-decrement-expression -> paragraph 5 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: check as the result of dec is assigned to A, the return type of inc must be a subtype of A. - */ - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt index 3d76897085e..27fd8f59ca4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 4 -> sentence 1 - * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: check unsafe prefix increment expression call for an assignable expression - */ class A() { var i = 0 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt index e9974cb30ec..27a763cc10e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-5/neg/2.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: expressions, prefix-expressions, prefix-increment-expression -> paragraph 5 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: check as the result of inc is assigned to A, the return type of inc must be a subtype of A. - */ - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt index 2fb0aa1e8b6..3a23a4b26ee 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/range-expression/p-4/pos/1.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, range-expression -> paragraph 4 -> sentence 1 - * PRIMARY LINKS: expressions, range-expression -> paragraph 4 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: The return type of range operator is not restricted. - * HELPERS: checkType - */ - - // TESTCASE NUMBER: 1 class Case1() { operator fun rangeTo(o: Case1): Nothing?{ diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt index 847b5cf549a..9495e5ba96f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/3.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 3 - * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: try-expression has to start with a try body and continue with zero ore more catch blocks - */ fun throwException(): Nothing = throw Exception() class ExcA() : Exception() diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt index c06f26f3a68..c8cd48f3bd7 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/neg/4.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, try-expression -> paragraph 1 -> sentence 4 - * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: try-expression has to start with a try body, catch blocks and finally block - */ fun throwException(): Nothing = throw Exception() class ExcA() : Exception() diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt index d9e58652f24..ad1e6372c5e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-1/pos/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK:expressions, try-expression -> paragraph 1 -> sentence 1 - * PRIMARY LINKS: expressions, try-expression -> paragraph 1 -> sentence 2 - * expressions, try-expression -> paragraph 1 -> sentence 5 - * NUMBER: 1 - * DESCRIPTION: try-expression has to start with a try body - */ fun throwException(): Nothing = throw Exception() diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt index e713773a109..9cbd8c20535 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-2/pos/2.1.fir.kt @@ -1,17 +1,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, try-expression -> paragraph 2 -> sentence 2 - * PRIMARY LINKS: expressions, try-expression -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: catch block is evaluated immediately after the exception is thrown and the exception itself is passed inside the catch block as the corresponding parameter. - */ - - // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt index b6836d8548d..5a2179bad92 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 1 - * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: If no exception is thrown during the evaluation of the try body, no catch blocks are executed, the finally block is evaluated after the try body, and the program execution continues as normal. - */ - // TESTCASE NUMBER: 1 fun case1(): String { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt index 808420132b9..8c3597a3ae5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-5/pos/2.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, try-expression -> paragraph 5 -> sentence 2 - * PRIMARY LINKS: expressions, try-expression -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: If an exception was thrown, but no catch block matched its type, the finally block is evaluated before propagating the exception up the call stack. - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt index da0db3ff925..ec0f45713a1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/try-expression/p-8/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_VARIABLE -UNUSED_PARAMETER -FINAL_UPPER_BOUND // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, try-expression -> paragraph 8 -> sentence 1 - * PRIMARY LINKS: expressions, try-expression -> paragraph 9 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The type of the try-expression is the least upper bound of the types of the last expressions of the try body and the last expressions of all the catch blocks - */ fun throwExceptionA(b: Boolean) = run { if (b) throw ExcA() } open class A(var data: T) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt index 72530faf632..54f48e8883c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.1.fir.kt @@ -1,14 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Non-exhaustive when, without bound value, without else branch. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): String = when { value_1 == 1 -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt index 86c0efb4fd5..bd125a9d679 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/1.2.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Non-exhaustive when, with bound value, without else branch. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): String = when (value_1) { 1 -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt index c109bea6549..49fa8921105 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.1.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 - * NUMBER: 1 - * DESCRIPTION: Non-exhaustive when using nullable boolean values. - */ - - // TESTCASE NUMBER: 1 fun case_1(value_1: Boolean?): String = when(value_1) { true -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt index 778804b2d4d..7c7d3107370 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.2.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 - * NUMBER: 2 - * DESCRIPTION: Non-exhaustive when using subclasses of the nullable sealed class. - * HELPERS: sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: SealedClass?): String = when(value_1) { is SealedChild1 -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt index 0618ae63d61..b935989c88a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/10.3.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 - * NUMBER: 3 - * DESCRIPTION: Non-exhaustive when using nullable enum values. - * HELPERS: enumClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: EnumClass?): String = when(value_1) { EnumClass.EAST -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt index 3ac54a4cfc0..b2120411a79 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/3.1.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 3 - * NUMBER: 1 - * DESCRIPTION: Non-exhaustive when using boolean values. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Boolean): String = when(value_1) { true -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt index 27414b3ca23..5d0b3f2316a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/neg/6.1.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 - * NUMBER: 1 - * DESCRIPTION: Non-exhaustive when using subclasses of the sealed class. - * HELPERS: sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: SealedClass): String = when(value_1) { is SealedChild1 -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt index 1510c307778..4f5815ecd53 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/1.3.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: Exhaustive when, with bound value (sealed, enum, boolean), with redundant else branch. - * HELPERS: enumClasses, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: EnumClass): String = when (value_1) { EnumClass.EAST -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt index 622a1dff488..bc9347726d6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 - * NUMBER: 2 - * DESCRIPTION: Exhaustive when using nullable enum values. - * HELPERS: enumClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: EnumClass?): String = when (value_1) { EnumClass.EAST -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt index fa2533e538a..f6ff5b6497d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/10.3.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 10 - * NUMBER: 3 - * DESCRIPTION: Exhaustive when using subclasses of the nullable sealed class. - * HELPERS: sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: SealedClass?): Int = when (value_1) { is SealedChild1 -> value_1.number diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt index 1e636fd23a3..cb995df579a 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/exhaustive-when-expressions/p-2/pos/6.1.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 6 - * NUMBER: 1 - * DESCRIPTION: Exhaustive when using subclasses of the sealed class. - * HELPERS: sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: SealedClass): Int = when (value_1) { is SealedChild1 -> value_1.number diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt index a8ab9841c33..cff477f9e55 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-1/pos/3.1.fir.kt @@ -1,14 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 1 -> sentence 3 - * NUMBER: 1 - * DESCRIPTION: Empty when with bound value. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int) { when (value_1) {} diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt index 1f1129bc94d..38c29ce9916 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: When with non-boolean value in the when condition. - * HELPERS: typesProvider - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int, value_2: String, value_3: TypesProvider): String { when { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt index 859bfb9e8f6..f283f98d295 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/neg/2.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: When without bound value, forbidden comma in the when condition. - * HELPERS: typesProvider, classes - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: TypesProvider) { when { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt index d5b3590e139..8c1cb35b087 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -DEBUG_INFO_SMARTCAST // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: When without bound value, various expressions in the control structure body. - * HELPERS: typesProvider, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int) { when { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt index b41828127b7..5c22fa8a9c3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/1.2.fir.kt @@ -1,14 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Allowed break and continue in the control structure body of when. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): String { while (true) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt index 70440045f54..a375290a9c0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: When without bound value, various boolean values in the when condition. - * HELPERS: typesProvider, enumClasses, sealedClasses, classes - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Boolean, value_2: Long): Int { return when { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt index cc335673230..48d326691e9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-2/pos/2.3.fir.kt @@ -1,17 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: expressions, when-expression -> paragraph 2 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: 'When' without bound value and with Nothing in condition (subtype of Boolean). - * DISCUSSION - * ISSUES: KT-25948 - * HELPERS: typesProvider - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: TypesProvider) { when { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt index e25382695c3..8a557eccdd8 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-3/neg/2.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-218 - * MAIN LINK: expressions, when-expression -> paragraph 3 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error - */ - // FILE: JavaEnum.java enum JavaEnum { Val_1, diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt index a1b04c1f3f6..df48db627e0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/neg/1.1.fir.kt @@ -3,15 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, when-expression -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: it is possible to replace the else condition with an always-true condition - */ - // FILE: JavaEnum.java enum JavaEnum { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt index ea59873f4e1..814b0720ea6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-4/pos/1.1.fir.kt @@ -3,15 +3,6 @@ // SKIP_TXT // FULL_JDK -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, when-expression -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: it is possible to replace the else condition with an always-true condition - */ - // FILE: JavaEnum.java enum JavaEnum { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt index e0a0e41db07..778bbb75296 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.1.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, when-expression -> paragraph 5 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and with different variants of expressions in the control structure body. - * HELPERS: typesProvider, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int) { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt index 62dbba523d1..869a7858f43 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-5/pos/1.2.fir.kt @@ -1,14 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, when-expression -> paragraph 5 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: 'When' with bound value and allowed break and continue expression (without labels) in the control structure body. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): Int { while (true) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt index 190cfe692a5..196a7e2a659 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and type test condition (without companion object in classes), but without type checking operator. - * HELPERS: classes - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any): String { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt index 9445ac38982..fc240e6bbe6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: 'When' with bound value and type test condition on the non-type operand of the type checking operator. - * HELPERS: classes - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any, value_2: Int): String { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt index d0ae90fe6d6..27dbf1853e4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/11.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VALUE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-201 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 11 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and non-expressions in 'when condition'. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int, value_2: List): String { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt index 1ea6ae5d466..db4414a0505 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/12.1.fir.kt @@ -1,14 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-201 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 12 - * NUMBER: 1 - * DESCRIPTION: 'When' without bound value and with 'else' branch not in the last position. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): String = when { else -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt index f1c052b8193..521fa81217e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and 'when condition' with range expression, but without containment checking operator. - * HELPERS: typesProvider - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int, value_2: TypesProvider): String { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt index a8be35ecac5..4c2f90362ad 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/3.2.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 3 - * NUMBER: 2 - * DESCRIPTION: 'When' with bound value and 'when condition' with contains operator and type without defined contains operator. - * HELPERS: classes - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int, value_2: EmptyClass, value_3: Int, value_4: Any): String { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt index a64de8fcb7d..00f4e2d2cf9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/7.1.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 7 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and with else branch not in the last position. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): String = when (value_1) { else -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt index 6389bce911d..35d1f0c79d9 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and type test condition. - * HELPERS: classes, objects - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any): String { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt index fa31a12e489..4505fd8624c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: 'When' with bound value and type test condition (invert type checking operator). - * HELPERS: classes, sealedClasses, objects - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: SealedClass) = when (value_1) { !is SealedChild1 -> {} diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt index 7ffc2c37917..f5f71664c0b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/1.4.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: 'When' with bound value and enumaration of type test conditions (with invert type checking operator). - * HELPERS: sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: SealedClass): String = when (value_1) { is SealedChild1, !is SealedChild3 -> "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt index c9d06443a8a..60116e217ce 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.1.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-201 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 10 - * NUMBER: 1 - * DESCRIPTION: 'When' with enumeration of the different variants of expressions in 'when condition'. - * HELPERS: typesProvider, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any?) { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt index bf6d3de9aec..652187563b0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/10.2.fir.kt @@ -1,15 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-201 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 10 - * NUMBER: 2 - * DESCRIPTION: 'When' with different variants of the arithmetic expressions (additive expression and multiplicative expression) in 'when condition'. - * HELPERS: typesProvider, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any?) { when (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt index 4b2a4e1b0fc..a8a1129d48b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/pos/11.1.fir.kt @@ -1,14 +1,5 @@ // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-201 - * MAIN LINK: expressions, when-expression -> paragraph 6 -> sentence 11 - * NUMBER: 1 - * DESCRIPTION: 'When' with bound value and not allowed break and continue expression (without labels) in 'when condition'. - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Int): String { while (true) { diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt index c5355ef4acb..1484397f548 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/1.1.fir.kt @@ -2,20 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 - * overload-resolution, receivers -> paragraph 7 -> sentence 2 - * overload-resolution, receivers -> paragraph 7 -> sentence 3 - * NUMBER: 1 - * DESCRIPTION: sets of non-extension member callables only - */ - package tests.test2 // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt index 08d728ad25b..0b2889cdae0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.2.fir.kt @@ -1,21 +1,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * PRIMARY LINKS: overload-resolution, c-level-partition -> paragraph 1 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 2 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: extension calls with explicit and implicit receiver - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36475 - */ - // TESTCASE NUMBER: 1 class Case1 { fun bar() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt index a1cec62fde8..5276a627777 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-an-explicit-receiver/p-6/pos/2.4.fir.kt @@ -2,21 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 11 -> sentence 1 - * overload-resolution, receivers -> paragraph 5 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * NUMBER: 4 - * DESCRIPTION: sets of local, explicitly imported, declared in the package scope and star-imported extension callables - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt index 33151b204db..73c59e02d34 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-named-parameters/p-1/pos/2.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNREACHABLE_CODE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -IMPLICIT_NOTHING_RETURN_TYPE -DEBUG_INFO_LEAKING_THIS -EXTENSION_SHADOWED_BY_MEMBER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-280 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 1 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables - */ - // TESTCASE NUMBER: 1, 2, 3, 4, 5 // FILE: Marker.kt diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt index d60a2d6aca0..56f53ebd7cb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNREACHABLE_CODE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -IMPLICIT_NOTHING_RETURN_TYPE -DEBUG_INFO_LEAKING_THIS -EXTENSION_SHADOWED_BY_MEMBER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-300 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 3 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-named-parameters -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: call-with-trailing-lambda-expressions,Implicit receiver: sets of non-extension member callables, local, explicitly imported, declared in the package scope and star-imported extension callables - */ - // TESTCASE NUMBER: 1, 2, 3, 4, 5 // FILE: Marker.kt diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt index 749f7838b66..90ecb446112 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-with-trailing-lambda-expressions/p-1/pos/2.17.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-300 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-with-trailing-lambda-expressions -> paragraph 1 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * NUMBER: 17 - * DESCRIPTION: Infix fun: Local extension infix extension callables - */ - // TESTCASE NUMBER: 0, 1, 2, 3, 4 // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt index b748922bac5..1342fb03854 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.3.fir.kt @@ -2,20 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -NOTHING_TO_INLINE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-278 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 - * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: The overload candidate sets for each pair of implicit receivers: Explicitly imported extension callables - */ - - // FILE: Lib.kt package libPackageCase1 import testsCase1.* diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt index 741c8478070..e3529c3e0d3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.4.fir.kt @@ -2,22 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -NOTHING_TO_INLINE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-278 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 - * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 6 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 - * NUMBER: 4 - * DESCRIPTION: The overload candidate sets for each pair of implicit receivers: declared in the package scope extension callables - */ - - - // FILE: TestCase.kt // TESTCASE NUMBER: 1 package testsCase1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt index 03fd0c602c0..1537549cc1f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/call-without-an-explicit-receiver/p-5/neg/2.5.fir.kt @@ -2,20 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -NOTHING_TO_INLINE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-278 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 4 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 8 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-specified-type-parameters -> paragraph 1 -> sentence 2 - * NUMBER: 5 - * DESCRIPTION: The overload candidate sets for each pair of implicit receivers: Implicitly imported extension callables - */ - - // FILE: Lib.kt package libPackageCase1 import testsCase1.* diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt index 4129e3a0023..da1cd88a32d 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -EXTENSION_SHADOWED_BY_MEMBER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Implicitly imported extension callable without infix modifier - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt index bf4bd840f7b..21f9aee9ba2 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.2.fir.kt @@ -2,19 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: Local extension infix extension callables - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt index f4d65e1dfbf..3bb9af3599c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.3.fir.kt @@ -2,19 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 - * NUMBER: 3 - * DESCRIPTION: Explicitly imported infix extension callables - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt index b891bd3efe3..657e92db7d5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/1.4.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 - * NUMBER: 4 - * DESCRIPTION: Star-imported infix extension callables - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt index bf041f448ce..aff935d8a7f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/neg/4.5.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 - * NUMBER: 5 - * DESCRIPTION: Star-imported extension callable only - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt index 958cc7b606c..82166ae54d1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: Local extension infix extension callables - */ - // TESTCASE NUMBER: 0, 1, 2, 3, 4 // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt index 6ece7715acf..15a241699d4 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/p-2/pos/4.3.fir.kt @@ -2,19 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-313 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 4 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call -> paragraph 2 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 - * - * NUMBER: 3 - * DESCRIPTION: Explicitly imported infix extension callables - */ - // FILE: Extensions.kt package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt index 94f2016696f..1fdb7810d32 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.2.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 2 - * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: Non-extension member callables - */ - - // FILE: LibCase1.kt // TESTCASE NUMBER: 1 package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt index 8a5ee63ccff..ea137d5abf6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.3.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 3 - * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 3 - * DESCRIPTION: Explicitly imported extension callables - */ - - // FILE: LibCase1.kt // TESTCASE NUMBER: 1 package libPackage1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt index d0b1c2751d0..a60cb063e41 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.4.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 4 - * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 4 - * DESCRIPTION: Extension callables declared in the package scope - */ - - // FILE: LibCase1.kt // TESTCASE NUMBER: 1 package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt index 1fa70669076..3f83f6964ff 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.5.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 - * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 5 - * DESCRIPTION: Star-imported extension callables - */ - - // FILE: LibCase1.kt // TESTCASE NUMBER: 1 package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt index f34c9934d08..c399a7f0f89 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-2/pos/3.6.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 3 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 6 -> sentence 5 - * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 6 - * DESCRIPTION: Star-imported extension callables - */ - - // FILE: LibCase1.kt // TESTCASE NUMBER: 1 package libPackage diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt index 8b66200e6ee..456fc81b1a0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/neg/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: properties available through the invoke convention are non-eligible for operator calls - */ - // FILE: TestCase1.kt /* * TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt index 0cc3e82a951..225c4466912 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-4/pos/1.1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: properties available through the invoke convention are non-eligible for operator calls - */ - // FILE: TestCase1.kt /* * TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt index 0d247c1b2b1..5a7bddd848c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-278 - * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 3 - * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: The phantom static implicit this receiver has higher priority than the current class companion object receiver - */ - // FILE: TestCase.kt // TESTCASE NUMBER: 1 package testsCase1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt index 63049de3959..6ad38479666 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-278 - * MAIN LINK: overload-resolution, receivers -> paragraph 5 -> sentence 5 - * PRIMARY LINKS: overload-resolution, receivers -> paragraph 5 -> sentence 4 - * overload-resolution, building-the-overload-candidate-set-ocs, call-without-an-explicit-receiver -> paragraph 5 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Superclass companion object receivers are prioritized according to the inheritance order - */ - // FILE: TestCase.kt // TESTCASE NUMBER: 1 package testsCase1 diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt index ca115ccd8d3..a79d5a3f920 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/operator-assignments/p-2/neg/1.1.fir.kt @@ -2,19 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-253 - * MAIN LINK: statements, assignments, operator-assignments -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: statements, assignments, operator-assignments -> paragraph 2 -> sentence 2 - * statements, assignments, operator-assignments -> paragraph 2 -> sentence 3 - * statements, assignments, operator-assignments -> paragraph 3 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: An operator assignment A+=B - */ - - class B(var a: Int) { operator fun plus(value: Int): B { a= a + value diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt index 9ae1cc1e881..fbb161e68ec 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-1/neg/2.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-222 - * MAIN LINK: statements, assignments -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Both left-hand and right-hand sides of an assignment must be expressions - */ - - /* * TESTCASE NUMBER: 1 * NOTE: right-hand side of an assignment must be expression diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt index 56c0016332f..73180fdd925 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-222 - * MAIN LINK: statements, assignments -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 1 - * statements, assignments, simple-assignments -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Check the expression is not assignable if an identifier referring to an unmutable property - */ - /* * TESTCASE NUMBER: 1 * NOTE: an identifier referring to a unmutable property diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt index 881e0500c22..9767efa112e 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNSAFE_CALL -UNREACHABLE_CODE -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-222 - * MAIN LINK: statements, assignments -> paragraph 2 -> sentence 1 - * PRIMARY LINKS: statements, assignments -> paragraph 3 -> sentence 2 - * statements, assignments, simple-assignments -> paragraph 1 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: Check the expression is not assignable if a navigation expression referring to an unmutable property - */ - - /* * TESTCASE NUMBER: 1 * NOTE: a navigation expression referring to a unmutable property diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt index 783d9b22b5a..f6d1b161111 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/do-while-loop-statement/p-3/neg/1.1.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-253 - * MAIN LINK: statements, loop-statements, do-while-loop-statement -> paragraph 3 -> sentence 1 - * PRIMARY LINKS: statements, loop-statements, do-while-loop-statement -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: condition expression is not a subtype of kotlin.Boolean. - */ - // TESTCASE NUMBER: 1 fun case1() { do { diff --git a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt index 2a808dace3b..8bd33023462 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/statements/loop-statements/while-loop-statement/p-3/neg/1.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-253 - * MAIN LINK: statements, loop-statements, while-loop-statement -> paragraph 3 -> sentence 1 - * PRIMARY LINKS: statements, loop-statements, while-loop-statement -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: condition expression is not a subtype of kotlin.Boolean. - * HELPERS: checkType - */ - // FILE: KotlinClass.kt // TESTCASE NUMBER: 1 fun case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt index 8dccc0fdec4..a01a89109b5 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/neg/1.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 4 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, operator-call -> paragraph 2 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: smart case for property `plus` available through the operator invoke - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36876 - */ // TESTCASE NUMBER: 1 class Case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt index e205a72d9e4..2703fb20494 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-inference/smart-casts/smart-cast-sink-stability/p-5/pos/1.1.fir.kt @@ -2,18 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-268 - * MAIN LINK: type-inference, smart-casts, smart-cast-sink-stability -> paragraph 5 -> sentence 1 - * PRIMARY LINKS: overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 1 -> sentence 1 - * overload-resolution, building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver -> paragraph 3 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: smart cast for the property available through the operator invoke - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36876 - */ // TESTCASE NUMBER: 1 class Case1() { diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt index 6e5e5b97c84..f2d793d28de 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.1.fir.kt @@ -2,15 +2,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. - */ - // TESTCASE NUMBER: 1 fun case_1() { val x: Int = null diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt index a5281dfa552..41b8ba44cf3 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.2.fir.kt @@ -2,15 +2,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 - * NUMBER: 2 - * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int = null) { println(x) diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt index af559e5f4f8..a948bb709d6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-6/neg/2.3.fir.kt @@ -2,15 +2,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: type-system, introduction-1 -> paragraph 6 -> sentence 2 - * NUMBER: 3 - * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. - */ - // TESTCASE NUMBER: 1 fun case_1(x: T = null) { println(x) diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt index 04a263562d6..1d21db0425f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/1.1.fir.kt @@ -2,17 +2,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: type-system, introduction-1 -> paragraph 8 -> sentence 1 - * PRIMARY LINKS: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 - * NUMBER: 1 - * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { checkSubtype(10) diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt index 02550e8bfad..21eb11f8482 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/introduction-1/p-8/pos/2.1.fir.kt @@ -2,16 +2,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-100 - * MAIN LINK: type-system, introduction-1 -> paragraph 8 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. - * HELPERS: checkType - */ - // TESTCASE NUMBER: 1 fun case_1() { checkSubtype(return) diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt index b73a74a6971..8b3179ac941 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.any/p-1/pos/1.2.fir.kt @@ -2,17 +2,6 @@ // !LANGUAGE: +NewInference // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (POSITIVE) - * - * SPEC VERSION: 0.1-296 - * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.any -> paragraph 1 -> sentence 1 - * PRIMARY LINKS: type-system, introduction-1 -> paragraph 7 -> sentence 1 - * NUMBER: 2 - * DESCRIPTION: The use of Boolean literals as the identifier (with backtick) in the class. - * HELPERS: checkType, functions - */ - // TESTCASE NUMBER: 1 fun case_1() { checkSubtype("") diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt index 39f8897a52c..380284e03eb 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-kinds/built-in-types/kotlin.nothing/p-1/neg/2.1.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_EXPRESSION -UNREACHABLE_CODE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) - * - * SPEC VERSION: 0.1-213 - * MAIN LINK: type-system, type-kinds, built-in-types, kotlin.nothing -> paragraph 1 -> sentence 2 - * NUMBER: 1 - * DESCRIPTION: Check of Nothing type - * HELPERS: checkType - */ - - // TESTCASE NUMBER: 1 class Case1(val nothing: Nothing) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/annotation-classes/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/annotation-classes/neg/1.fir.kt index fd18ddd1a25..29e96dac46e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/annotation-classes/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/annotation-classes/neg/1.fir.kt @@ -1,13 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, annotation-classes - * NUMBER: 1 - * DESCRIPTION: Annotation classes with forbidden `JvmOverloads` annotation on its constructor. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-25702 - */ - // TESTCASE NUMBER: 2, 3, 4 @Target(AnnotationTarget.CONSTRUCTOR) annotation class Case12_1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/1.fir.kt index 8672724c491..cbd6e2b7360 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/1.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 1 - * DESCRIPTION: Type annotations on return type with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/10.fir.kt index 6f7f2ec3e98..65e28f35db5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/10.fir.kt @@ -1,14 +1,5 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 10 - * DESCRIPTION: Type annotations on a lambda type with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1, 2 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/11.fir.kt index 371451368f3..2f41746d89f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/11.fir.kt @@ -1,15 +1,5 @@ // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 11 - * DESCRIPTION: Type annotations with invalid target. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-28449 - */ - // TESTCASE NUMBER: 1, 2, 3, 4, 5 @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.PROPERTY_GETTER) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/2.fir.kt index d2ae23f36da..c673f5976a5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/2.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 2 - * DESCRIPTION: Type annotations on supertypes with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/3.fir.kt index 8687c58a2ae..6b52e7f78bb 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/3.fir.kt @@ -1,15 +1,5 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 3 - * DESCRIPTION: Type annotations on parameter types with unresolved reference in parameters. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1, 2, 3 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/4.fir.kt index 224b8898c90..5186cbcaf64 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/4.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 4 - * DESCRIPTION: Type annotations on type arguments for a containing type of return type, with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/5.fir.kt index 6a2e37e10da..b826b3ac3e3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/5.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 5 - * DESCRIPTION: Type annotations on upper bounds with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1, 2 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/6.fir.kt index f2ad275e44b..cb772bb1869 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/6.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 6 - * DESCRIPTION: Type annotations inside type check and cast expression with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1, 2 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/7.fir.kt index 59d841be471..44b1e9dee4e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/7.fir.kt @@ -1,14 +1,5 @@ // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 7 - * DESCRIPTION: Type annotations on a type in an anonymous object expression, with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1, 2 @Target(AnnotationTarget.TYPE) annotation class Ann diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/8.fir.kt index da95969fdb9..f454d0fbb7d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/8.fir.kt @@ -1,12 +1,3 @@ -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 8 - * DESCRIPTION: Type annotations on a receiver type (for an extension property only), with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - // TESTCASE NUMBER: 1, 2 @Target(AnnotationTarget.TYPE) annotation class Ann(val x: Int) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/9.fir.kt index 5dd10de971a..ea0459a48b9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/annotations/type-annotations/neg/9.fir.kt @@ -1,14 +1,5 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: annotations, type-annotations - * NUMBER: 9 - * DESCRIPTION: Type annotations on a setter argument type with unresolved reference in parameters. - * ISSUES: KT-28424 - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/neg/1.fir.kt index 56fa753c21a..703a8091e15 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/neg/1.fir.kt @@ -1,14 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, common - * NUMBER: 1 - * DESCRIPTION: Analysis by contracts with mixed CallsInPlace and Returns effects. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/pos/1.fir.kt index 3f7ba7e3d08..a53a73e5a08 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/common/pos/1.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, common - * NUMBER: 1 - * DESCRIPTION: Analysis by contracts with mixed CallsInPlace and Returns effects. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/1.fir.kt index 569a098f78d..653e0528585 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/1.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 1 - * DESCRIPTION: val/var reassignment and/or uninitialized variable usages based on CallsInPlace effect with wrong invocation kind - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { val value_1: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/2.fir.kt index 8a4f01c8b3f..3097b7097d4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/2.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 2 - * DESCRIPTION: val/var reassignment and/or uninitialized variable usages based on nested CallsInPlace effects with wrong invocation kind - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { val value_1: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/3.fir.kt index 6deabc66df3..adfabb1dbd9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/3.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 3 - * DESCRIPTION: val/var reassignment and/or uninitialized variable usages with compelx control flow inside/outside lambda of contract function with CallsInPlace effect - * HELPERS: enumClasses, contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: EnumClass?) { val value_2: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/4.fir.kt index aeed27bd4b4..fad6b8b1bec 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/4.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 4 - * DESCRIPTION: CallsInPlace contract functions with name shadowing and wrong invocation kind - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { val value_1: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/5.fir.kt index ffcc358e0f6..ff877b43dd4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/5.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 5 - * DESCRIPTION: CallsInPlace contract functions with invalid lambda passing to function parameter. - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { val value_1: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/6.fir.kt index c26ef0cc6a3..ab4d419989d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/neg/6.fir.kt @@ -1,17 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 6 - * DESCRIPTION: Check the lack of CallsInPlace effect on the lambda in the parentheses. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-26229 - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { val value_1: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/3.fir.kt index 43adc67c4d1..78ab2981a0e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/3.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 3 - * DESCRIPTION: val/var assignments or subsequent usages with compelx control flow inside/outside lambda of contract function with CallsInPlace effect - * HELPERS: enumClasses, contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: EnumClass?) { val value_2: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/4.fir.kt index 65ac9f897e0..baf436024ed 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/4.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 4 - * DESCRIPTION: CallsInPlace contract functions with name shadowing - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { val value_1: Int diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/6.fir.kt index 1ce167821a0..f692f3bd457 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/initialization/pos/6.fir.kt @@ -1,16 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, initialization - * NUMBER: 6 - * DESCRIPTION: Check the lack of CallsInPlace effect on the lambda in the parentheses. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-26229 - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/neg/1.fir.kt index e66912046a2..4488031200f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/neg/1.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 1 - * DESCRIPTION: Using not allowed break and continue inside lambda of contract function - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Boolean) { while (value_1) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/1.fir.kt index cca0c5f17cd..53b5a145faa 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/1.fir.kt @@ -2,15 +2,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 1 - * DESCRIPTION: Unreachable code detection using contract function with CallsInPlace effect - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { funWithExactlyOnceCallsInPlace { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/3.fir.kt index bdf299bcb0b..f2f2da0b2ef 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/3.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 3 - * DESCRIPTION: Unreachable code detection using local functions or labdas combined with contract functions with CallsInPlace effect - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { funWithExactlyOnceCallsInPlace { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/4.fir.kt index 4effef15e21..af611498f72 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/4.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 4 - * DESCRIPTION: Unreachable code detection using nested contract functions with CallsInPlace effect - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1() { funWithExactlyOnceCallsInPlace { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/5.fir.kt index 441b0fdf0da..295772ada95 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/5.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 5 - * DESCRIPTION: Unreachable code detection using contract functions with complex control flow inside - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(b: Boolean?) { funWithExactlyOnceCallsInPlace { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/6.fir.kt index 3476bf64327..327c275d76b 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/6.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 6 - * DESCRIPTION: Check for lack of unreachable code report when in complex control flow of contract function lambda not all branches are doing non-local return - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(b: Boolean?, c: Boolean) { funWithExactlyOnceCallsInPlace { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/7.fir.kt index 307c3e2ccf5..21452b908e5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/controlFlow/unreachableCode/pos/7.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, controlFlow, unreachableCode - * NUMBER: 7 - * DESCRIPTION: Smart initialization with correspond contract function with default value before lambda. - * ISSUES: KT-26444 - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/1.fir.kt index bf2b762ffe7..03cd6e2f5c6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/1.fir.kt @@ -2,15 +2,6 @@ // !WITH_NEW_INFERENCE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 1 - * DESCRIPTION: Smartcasts using Returns effects with simple type checking, not-null conditions and custom condition (condition for smartcast outside contract). - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any?) { funWithReturns(value_1 !is String) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/10.fir.kt index 00f8921d0fc..ad770638750 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/10.fir.kt @@ -1,16 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 10 - * DESCRIPTION: Check smartcasts using double negation (returnsFalse/invert type checking/not operator). - * ISSUES: KT-26176 - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/11.fir.kt index df1d8e61a18..128c97e9b06 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/11.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 11 - * DESCRIPTION: Smartcast using many of the various Returns effects on the same values. - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/12.fir.kt index 2d4868b0be4..babfa6740a8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/12.fir.kt @@ -1,15 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 12 - * DESCRIPTION: Check smartcast to upper bound of the types in disjunction. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-1982 - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/13.fir.kt index 3fdb9ff3278..c711b2ceb36 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/13.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 13 - * DESCRIPTION: Smartcast using many of the various Returns effects on the same values. - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/14.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/14.fir.kt index 4537a17f544..c711b2ceb36 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/14.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/14.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 14 - * DESCRIPTION: Smartcast using many of the various Returns effects on the same values. - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/15.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/15.fir.kt index 959e1a77f56..3040e009cbc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/15.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/15.fir.kt @@ -1,16 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 15 - * DESCRIPTION: Check smartcasts working if type checking for contract function is used - * ISSUES: KT-27241 - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/2.fir.kt index 802716a7f07..b44c23ff7af 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/2.fir.kt @@ -2,15 +2,6 @@ // !WITH_NEW_INFERENCE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 2 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions outside contract (custom condition). - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any?, value_2: Any?) { funWithReturns(value_1 !is String || value_2 !is Number) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/3.fir.kt index 796aba3859a..5cca21e3eff 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/3.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 3 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/4.fir.kt index e22836792f2..27484e292cc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/4.fir.kt @@ -1,14 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 4 - * DESCRIPTION: Smartcasts using Returns effects with simple type checking and not-null conditions on receiver inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/5.fir.kt index fbf445ad1ab..0cf1a2a7376 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/5.fir.kt @@ -1,14 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 5 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/6.fir.kt index 78dda41adf0..0f28e64af95 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/6.fir.kt @@ -1,14 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 6 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver and some values (mixed) inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/7.fir.kt index 292b66fc42f..47defcf0611 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/7.fir.kt @@ -1,14 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 7 - * DESCRIPTION: Smartcasts using Returns effects with nested or subsequent contract function calls. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/8.fir.kt index 560250b5fcb..4ce97b7f28c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/8.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 8 - * DESCRIPTION: Smartcasts using some Returns effects. - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/9.fir.kt index 3a28d75c557..42f82159aba 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/neg/9.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 9 - * DESCRIPTION: Check the lack of smartcasts after non-null assertions or not-null value assignment in lambdas of contract function with 'unknown' or 'at most once' CallsInPlace effects. - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(arg: Int?) { funWithAtMostOnceCallsInPlace { arg!! } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/1.fir.kt index fc7387d6224..7cd53da885d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/1.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 1 - * DESCRIPTION: Smartcasts using Returns effects with simple type checking, not-null conditions and custom condition (condition for smartcast outside contract). - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any?) { funWithReturns(value_1 is String) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/10.fir.kt index de1b553bbed..d9a01d2566f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/10.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 10 - * DESCRIPTION: Smartcasts with correspond contract function with default value in last parameter. - * ISSUES: KT-26444 - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/11.fir.kt index 027765efe19..7abadc1aa78 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/11.fir.kt @@ -1,15 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 11 - * DESCRIPTION: Check smartcasts with passing same fields of instances of the same class in contract function with conjunction not-null condition. - * ISSUES: KT-26300 - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/12.fir.kt index e27bb97132b..e9bc87d4118 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/12.fir.kt @@ -1,17 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 12 - * DESCRIPTION: Smartcasts after non-null assertions or not-null value assignment in lambdas of contract function with 'exactly once' or 'at least once' CallsInPlace effects. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-26148 - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(arg: Int?) { funWithExactlyOnceCallsInPlace { arg!! } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/13.fir.kt index 79abbdcfa00..babfa6740a8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/13.fir.kt @@ -1,15 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 13 - * DESCRIPTION: Check smartcast to upper bound of the types in disjunction. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-1982 - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/14.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/14.fir.kt index bd52565e985..1bb50abc9ec 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/14.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/14.fir.kt @@ -1,15 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 14 - * DESCRIPTION: Check smartcast with non-null assertion for a contract function. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-26856 - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/2.fir.kt index 6d6854bb381..0dfa75ac687 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/2.fir.kt @@ -2,15 +2,6 @@ // !WITH_NEW_INFERENCE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 2 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions outside contract (custom condition). - * HELPERS: contractFunctions - */ - // TESTCASE NUMBER: 1 fun case_1(value_1: Any?, value_2: Any?) { funWithReturns(value_1 is String && value_2 is Number) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/3.fir.kt index 60b9242d686..35b9b3282c1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/3.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 3 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/4.fir.kt index 408de5e23cb..3c4a365270d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/4.fir.kt @@ -1,14 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 4 - * DESCRIPTION: Smartcasts using Returns effects with simple type checking and not-null conditions on receiver inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/5.fir.kt index 9bc82faf590..d0d11d30110 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/5.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 5 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/6.fir.kt index 27ea16b83ca..468cbc41bb9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/6.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 6 - * DESCRIPTION: Smartcasts using Returns effects with complex (conjunction/disjunction) type checking and not-null conditions on receiver and some values (mixed) inside contract. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/7.fir.kt index c63006af430..71dd070ee6c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/7.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 7 - * DESCRIPTION: Smartcasts using Returns effects with nested or subsequent contract function calls. - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/8.fir.kt index 7e7007a7d7c..b4d00288a71 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/8.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 8 - * DESCRIPTION: Smartcasts using some Returns effects. - * HELPERS: contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/9.fir.kt index 88394203483..c2d63c58af2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/analysis/smartcasts/pos/9.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, analysis, smartcasts - * NUMBER: 9 - * DESCRIPTION: Smartcast using complex condition with some contract functions (Returns effect). - * HELPERS: typesProvider, contractFunctions - */ - // FILE: contracts.kt package contracts diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/1.fir.kt index 736afec6b6b..2435c14fd7c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/1.fir.kt @@ -1,14 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 1 - * DESCRIPTION: Contract isn't first statement. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/10.fir.kt index ec12e01b623..e88c930d532 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/10.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 10 - * DESCRIPTION: Contract with label after 'contract' keyword. - * ISSUES: KT-26153 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/11.fir.kt index 399a5f5007b..c9a8b5124b5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/11.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 11 - * DESCRIPTION: Functions with contracts and external contract builder. - * ISSUES: KT-26186 - */ - // FILE: builder.kt package builder diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/12.fir.kt index c1977c8ab10..38a941058c5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/12.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 12 - * DESCRIPTION: Functions with contracts and external effect builder. - * ISSUES: KT-26186 - */ - // FILE: builder.kt package builder diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/13.fir.kt index 687d5e5a49e..6cc718a58a6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/13.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 13 - * DESCRIPTION: Contract function with CallsInPlace effect with not allowed implies. - * ISSUES: KT-26409 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/14.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/14.fir.kt index e3a6f71dcbe..e006d6bfe47 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/14.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/14.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 14 - * DESCRIPTION: Contract is first statement in control flow terms, but not in tokens order terms. - * ISSUES: KT-26153 - * HELPERS: functions - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/16.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/16.fir.kt index ff737aa3dcc..909e56dddd7 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/16.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/16.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 16 - * DESCRIPTION: Contract isn't in the first position. - * ISSUES: KT-26191 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/17.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/17.fir.kt index 908ddd3f227..73a9dbd5ee6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/17.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 17 - * DESCRIPTION: contracts with Nothing expressions in implies. - * DISCUSSION - * ISSUES: KT-25948 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/2.fir.kt index 53f186e7263..9efcbf5bcec 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/2.fir.kt @@ -1,14 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 2 - * DESCRIPTION: contracts with not allowed simple conditions in implies - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/3.fir.kt index 81db80c1723..65c0a09c7ae 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/3.fir.kt @@ -1,14 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 3 - * DESCRIPTION: contracts with not allowed complex conditions in implies. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/4.fir.kt index b788e3d3e6c..0175bcc78ff 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/4.fir.kt @@ -2,14 +2,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 4 - * DESCRIPTION: contracts with not allowed conditions with constants in implies. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/5.fir.kt index 4dc62e417d1..ab132e2761b 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/5.fir.kt @@ -2,14 +2,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !WITH_NEW_INFERENCE -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 5 - * DESCRIPTION: contracts with not allowed expressions in implies. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/6.fir.kt index 4576b2ba9ff..e2610ff368f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/6.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 6 - * DESCRIPTION: contracts with not function parameters in implies. - * HELPERS: typesProvider - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/7.fir.kt index c094a7aeec3..524b98a5acd 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/7.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 7 - * DESCRIPTION: Contract function with 'this' labeled by not current extensible object - * ISSUES: KT-26149 - * HELPERS: typesProvider - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/8.fir.kt index 25addaa8542..d4150dc4498 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/8.fir.kt @@ -1,14 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 8 - * DESCRIPTION: Not allowed empty contract. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/9.fir.kt index 148c4efd599..2f20cde512c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/9.fir.kt @@ -1,14 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, common - * NUMBER: 9 - * DESCRIPTION: Function with contract as returned expression. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/1.fir.kt index f3b0d0fe81e..47d8f79d8c9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/1.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, callsInPlace - * NUMBER: 1 - * DESCRIPTION: contract functions with CallsInPlace with dynamic InvocationKind. - * ISSUES: KT-26152 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1, 2, 3, 4 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/2.fir.kt index 8d53ae7242f..2b26f81e104 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/callsInPlace/neg/2.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, callsInPlace - * NUMBER: 2 - * DESCRIPTION: functions with contract and duplicate CallsInPlace. - * ISSUES: KT-26150 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/common/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/common/neg/1.fir.kt index fc7aaacd756..0847875e2eb 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/common/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/common/neg/1.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, common - * NUMBER: 1 - * DESCRIPTION: Indirect effect functions call. - * ISSUES: KT-26175 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/1.fir.kt index 5c6e81553cb..0d613e0fb6d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/1.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 1 - * DESCRIPTION: Using equality with expressions in implies. - * ISSUES: KT-26178 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/2.fir.kt index a3d377e40bf..94ac84aa1b2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/2.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 2 - * DESCRIPTION: Using equality with not labeled 'this' in implies. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/3.fir.kt index cd90cfdfad8..97ee82bee80 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/3.fir.kt @@ -1,15 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 3 - * DESCRIPTION: Using reference equality in implies. - * ISSUES: KT-26177 - * HELPERS: objects - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/4.fir.kt index 5ee8f3cb8cb..3ef9b42003f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/4.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 4 - * DESCRIPTION: Using equality with literals in implies. - * ISSUES: KT-26178 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/5.fir.kt index c2e47d6113c..04bb538c33b 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/5.fir.kt @@ -1,14 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 5 - * DESCRIPTION: Contract on the extension function with Boolean upper bound (Boolean or Nothing) or smartcast to Boolean. - * DISCUSSION - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/6.fir.kt index dd97fe25869..0f83224b627 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/6.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 6 - * DESCRIPTION: Contract on the extension function with smartcast to Boolean. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/7.fir.kt index 2188aca6064..c81cd05ccb0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/neg/7.fir.kt @@ -1,15 +1,6 @@ // !LANGUAGE: +AllowContractsForNonOverridableMembers +AllowReifiedGenericsInContracts // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 7 - * DESCRIPTION: Returns effect with type checking with generic parameter - * ISSUES: KT-26296 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/pos/1.fir.kt index 9559330f1d6..8f5277c2cd1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/effects/returns/pos/1.fir.kt @@ -1,15 +1,6 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // !DIAGNOSTICS: -FINAL_UPPER_BOUND -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, declarations, contractBuilder, effects, returns - * NUMBER: 1 - * DESCRIPTION: Returns effect with simple conditions. - * HELPERS: classes - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/1.fir.kt index ee49eddf1a4..a2918b15657 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/1.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractFunction - * NUMBER: 1 - * DESCRIPTION: Check that recursion isn't allowed in contract functions with CallsInPlace effect. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/2.fir.kt index 4bbf979bd8d..664983781cc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/2.fir.kt @@ -1,16 +1,6 @@ // !LANGUAGE: +AllowContractsForNonOverridableMembers +AllowReifiedGenericsInContracts // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractFunction - * NUMBER: 2 - * DESCRIPTION: Check report about use contracts in literal functions, lambdas or not top-level functions. - * ISSUES: KT-26149 - * HELPERS: classes - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/4.fir.kt index efc6b67071c..299546209ef 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/neg/4.fir.kt @@ -1,15 +1,6 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: contracts, declarations, contractFunction - * NUMBER: 4 - * DESCRIPTION: Check that fun with contract and CallsInPlace effect is an inline function. - * ISSUES: KT-27090 - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/pos/1.fir.kt index 5852642145c..ae96ac04218 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractFunction/pos/1.fir.kt @@ -1,13 +1,5 @@ // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: contracts, declarations, contractFunction - * NUMBER: 1 - * DESCRIPTION: Use a contract function before the declaration it. - */ - import kotlin.contracts.* // TESTCASE NUMBER: 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt index 30a51775b6d..947ac41eb9d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 1 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, functions, typealiases, properties, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x != null is Boolean) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt index b2852bd9c66..3f297bd5f2f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 10 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1() { var x: Any? = null diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt index dcf6fb6e227..5afcda0cf38 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 11 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-28369 - */ - // TESTCASE NUMBER: 1 fun case_1() { var x: Boolean? = true diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/12.fir.kt index 85a5be6e433..7c5793032d5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/12.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 12 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-28370 - */ - // TESTCASE NUMBER: 1 fun case_1() { var x: Int? = 11 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt index b1101e26349..53307ced28f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 13 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-30507 - */ - // TESTCASE NUMBER: 1 fun case_1(x: Class?) { x!! diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/14.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/14.fir.kt index 182c25b3573..cbc21b4a375 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/14.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/14.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 14 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if ((x is Int) ?: (x is Int)) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt index 053e181d1d9..dc34e80d173 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 15 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt index d5fbf589752..8deb55bc0cb 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 16 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt index 43f71ef5ba6..a45f4ec3d58 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 17 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-28362 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt index a2561e18942..0b76ae2e70d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 18 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-30826 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt index 42db1ca2d3c..140fefe1e84 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 19 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt index 7eb38019231..190cca95eb0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt @@ -2,14 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 2 - * DESCRIPTION: Raw data flow analysis test - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Nothing) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt index 41a60f10fdb..1e748d84806 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 20 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/21.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/21.fir.kt index 96afa02eb9d..8009fe58de3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/21.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/21.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 21 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt index bc211e48839..5c8e6af4085 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 22 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt index 99a20bb91cb..5b41b6ef0c2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 23 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-28965 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/24.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/24.fir.kt index 59eec1fcb88..777cc2eeaf5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/24.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/24.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 24 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt index 276cfcf7818..f87df30ef9f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 25 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1, 2 class ClassWithEqualsOverride { override fun equals(other: Any?) = true diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt index f8cdf88a36e..b341660745a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 26 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt index e48f9995826..d69c925a5d8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 27 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt index 9ae7a8d876e..56b31aefa59 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 28 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun > Inv.case_1() { if (this is MutableList<*>) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/29.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/29.fir.kt index bf513ef927b..28fb0f53e69 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/29.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/29.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 29 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(a: Any?) { while (true) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt index 743903d0d49..f75d37beeb3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 3 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Nothing?) { if (x is Int) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt index 40f347ea31d..98a0c759152 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 30 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - * ISSUES: KT-30907 - */ - // TESTCASE NUMBER: 1 class Case1(val x: Any?) { val y = x!! diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt index 1a88e50e60d..a04223fb4f2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 31 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Interface1) = x fun case_1(x: Interface2) = x diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt index 26b4da2d181..219a3013cf9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 32 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1, 2, 3, 4, 5 fun stringArg(number: String) {} diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/33.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/33.fir.kt index 1c7e8304cf3..714f64ad3c0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/33.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/33.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 33 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1, 2, 3, 4, 5 fun nullableStringArg(number: String?) {} diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt index 7fdb614f5c5..0c91dc7abe2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 34 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/35.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/35.fir.kt index 02f1817955c..ba65a252684 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/35.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/35.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 35 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/36.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/36.fir.kt index 537222c0993..4c0f5355ff5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/36.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/36.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 36 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt index 31cf8339fd0..8d0b1560404 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 37 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/38.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/38.fir.kt index 9800adfc4ce..51b93a755d8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/38.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/38.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 38 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt index 79eb6437be9..36033e1ff15 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 39 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/4.fir.kt index 8655f442af8..e98bc0aa807 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/4.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 4 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: properties, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int is Boolean) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/40.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/40.fir.kt index 3ca805cd526..cb6c1dd9511 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/40.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/40.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 40 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-8819 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt index fba491864b6..528fe33429c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 41 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 inline fun case_1(x: Any?) { when (x) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt index 11acd8d9d4e..0c72619c0fd 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 42 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-1982 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/43.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/43.fir.kt index 0102564876a..3496ae3ce95 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/43.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/43.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 43 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-10461 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/44.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/44.fir.kt index 3ca928364c1..3ac321adc86 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/44.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/44.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 44 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-25747 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/45.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/45.fir.kt index a6870188176..ac3393b0bc1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/45.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/45.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 45 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-22996 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt index b650c04a780..831a7ddcdec 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 5 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 class Case1 { inline fun case_1(x: Any?) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/6.fir.kt index b198da66b91..9dbdfe62cdc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/6.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 6 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int || x !is Int) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/7.fir.kt index a50b68b491a..cbc21b4a375 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/7.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 7 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if ((x is Int) ?: (x is Int)) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt index 78778c76671..609fa3dcdb1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 8 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Class?) { if (x?.fun_4()?.fun_4()?.fun_4()?.fun_4() != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt index a483ad3dbe2..de592327951 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: dfa - * NUMBER: 9 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: T?, y: K?) { x as T diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt index 5a818dd278e..821d7e7aab1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 1 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, functions, typealiases, properties, enumClasses - */ - // FILE: other_package.kt package otherpackage diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt index b109bc67cd8..3b0417ad0d5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 10 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, functions, properties - */ - // TESTCASE NUMBER: 1 fun case_1() { val x = expandInv(Inv(select(10, null))) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt index 9aa14903f75..cefb520df38 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 11 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, functions, interfaces, properties - */ - // TESTCASE NUMBER: 1 fun , C: Out> case_1(a: C, b: B) = select(a.x, b.x) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt index c1307463c23..d6337c1d442 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 12 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, interfaces, properties, functions - */ - // TESTCASE NUMBER: 1 fun T.case_1() { if (this != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt index 4a2b59d7b0f..676803ccb62 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 13 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, interfaces, properties, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: T) { var y = null diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt index 87d41ee129f..d525155afb0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt @@ -2,14 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 14 - * DESCRIPTION: Raw data flow analysis test - */ - // TESTCASE NUMBER: 1 fun case_1(vararg x: Int?) { if (x != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt index 2f18357064a..96f9e5e2a62 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 15 - * DESCRIPTION: Raw data flow analysis test - * NOTE: performance test - * HELPERS: classes, interfaces, functions, properties - */ - // TESTCASE NUMBER: 1 open class Case1_1 : InterfaceWithTypeParameter1 open class Case1_2 : InterfaceWithTypeParameter1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt index 2583a21dcc8..4dc19be105a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION, -NAME_SHADOWING, -UNUSED_VARIABLE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 16 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: objects, properties, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if (x == null) return diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt index fbf70fb5eec..56cb0608ba5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 17 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: objects, properties, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if (x == null) throw Exception() diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt index ba72f2e6cf0..a2fbd43ab29 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 18 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: objects, properties, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int?) { while (true) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt index e8727ff2cf3..5489e3b118f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 19 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt index 18dbc4a1cd8..47023573897 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 2 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: objects, enumClasses, properties, functions - */ - // FILE: other_package.kt package otherpackage diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/20.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/20.fir.kt index f3969c2864a..123b3f2aaab 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/20.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/20.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 20 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int || false) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt index d772706c915..ae097c8456f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 21 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int == true) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt index 998ddbfa62a..d28ba6808ac 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 22 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt index b38bd96cdf3..cce4c0e55f0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 23 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 class Case1 { inline fun case_1(x: Any?) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt index ec07bb55394..f576821b144 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 24 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) where T: CharSequence { x as T diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt index 9551a628d17..c101704aad4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 25 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt index cde4fb68fe1..c101704aad4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 26 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt index f592fbdc745..c101704aad4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 27 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt index 2a80d4ba66b..c80bf9ecb71 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 28 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if (x?.inv() != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt index 9d81fd591b3..ac4996d23b6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 29 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, properties, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Class?) { if (x?.prop_8?.prop_8?.prop_8?.prop_8 != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt index d1935c45e15..121bc7a3a29 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 3 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: objects, enumClasses, classes, properties, typealiases - */ - // FILE: other_package.kt package otherpackage diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt index 8c5d406e8e9..1990b2dc9cc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 30 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, properties, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt index dc6ffe60c16..cbbb80150a4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 31 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, properties, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt index f4ab04c274f..e722dae978a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 32 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: T?, y: K?) { x as T diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt index 05c3059e635..3a85f9d2a22 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 33 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1() { var x: Any? = null diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt index bee15a42a7d..3f2941f961e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 34 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1() { var a: Any? = null diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt index b5dc08d0653..7962e99eac4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 35 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt index b18d0a35e14..5dd0a55d89a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 36 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, functions, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1() { var a: Any? = null diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt index 74e741238b7..a7e6951f4f6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 37 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt index dbb8537213d..5d062eb2e9c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 38 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Comparable<*>?) { if (x is Byte?) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt index 8f918cff636..e8b2896a7df 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 39 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/4.fir.kt index 085cc836e5b..2ee6c9c0aab 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/4.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 4 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: objects, enumClasses, classes, properties, typealiases - */ - // FILE: other_package.kt package otherpackage diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt index 8d22b291015..4614cf4b29f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 40 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-28242 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt index 1b35f72b2cf..5ff72bfa270 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 41 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-28362 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt index 3bb82b4b989..687d6a252fd 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 42 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt index 45fe2afc787..066d1299019 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 43 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-28670 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt index b9d7e4d5db0..59ab61c5657 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 44 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt index 98d85f0bc57..cf471ff4ad1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 45 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt index ab55741aff6..c599d636ae2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt @@ -3,15 +3,6 @@ // SKIP_TXT // WITH_REFLECT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 46 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - import kotlin.reflect.* /* diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt index 190fe4d057f..cec39be3dbd 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 47 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(a: Any?) { while (true) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt index d39e1506330..75bef048946 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 48 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt index 4ffc16582da..d7703419e5c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 49 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: annotations, classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt index 1dd9b0bee0d..7031f7e570d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt @@ -3,15 +3,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 5 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, interfaces, properties, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Number?) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt index bfd2b03f097..31942a1c5bf 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 50 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun Any.case_1() { if (this is Inv<*>) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt index 9febe27e47f..456d474b131 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 51 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { val y = run { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/52.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/52.fir.kt index 576ac39d1a3..08af6541739 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/52.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/52.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 52 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt index 1ac51d10d58..62fe5e84f83 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 53 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Int) = "" fun case_1(x: Int?) = 10 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt index de1d30e62bf..4ee5892aa53 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 54 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt index 3609ad85cc9..3a08d52de94 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 55 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-10662 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/56.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/56.fir.kt index a15c29853f7..3f6c5cc73dd 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/56.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/56.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 56 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Class?) { if (x != null) >>")!>x::fun_1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt index 4694a2cd326..c32e6f134f3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 57 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-20656 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/58.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/58.fir.kt index e4c0268d5bf..381be5725c1 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/58.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/58.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 58 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt index 3f392e70443..ce11b7f0721 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 59 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt index 3a942b75ac5..b4a309ba3a0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt @@ -3,15 +3,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 6 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, enumClasses, interfaces, objects, typealiases, properties, functions - */ - // FILE: other_types.kt package othertypes diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt index dd56d900198..b65a81990b3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 60 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1() { var x: String? = null diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt index 0dcb9406bb2..35b2c743446 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 61 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/62.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/62.fir.kt index d7b4737b9b5..52460da9fda 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/62.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/62.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 62 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt index f94e0ce9d26..eeb2b8b04c0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 63 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt index a0d40bdfaf1..21ed46acb38 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 64 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt index 605f4f7ffc1..f45741f0723 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 65 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Class) { if (x.prop_13 !is String) return diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt index c2ff525296c..22eab5e350a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 66 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt index d971de66ba1..e54696ae2ea 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 67 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { when (x) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt index 39aaef1dfd5..fad2523d818 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 68 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-29083 - */ - // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x!! is Int) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt index 6b4b1c1d13c..1996f458525 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt @@ -2,17 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 69 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-29083 - */ - // TESTCASE NUMBER: 1 fun test1(x: ClassLevel1?) { if (x!! is ClassLevel2) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt index 012f8c60a30..8a90ac07e8f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt @@ -2,16 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 7 - * DESCRIPTION: Raw data flow analysis test - * UNEXPECTED BEHAVIOUR - * HELPERS: classes, enumClasses, objects, typealiases, properties, functions - */ - // FILE: other_package.kt package orherpackage diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt index aa655dc5f42..b94a96eb72f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 70 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes - */ - /* * TESTCASE NUMBER: 1 * ISSUES: KT-11727 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt index 7a8ededb58e..595073bb314 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 71 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt index 1a7048248be..4076e05dfac 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 72 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt index bafb58bbc69..2b31c481330 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_VALUE -VARIABLE_WITH_REDUNDANT_INITIALIZER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 73 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, objects, typealiases, functions, enumClasses, interfaces, sealedClasses - */ - /* * TESTCASE NUMBER: 1 * UNEXPECTED BEHAVIOUR diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt index 42462a072b4..321e2d48bea 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 8 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: properties, classes, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Inv?) { if (x != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt index 29d9692c466..bfe57ead2e7 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt @@ -2,15 +2,6 @@ // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: dfa - * NUMBER: 9 - * DESCRIPTION: Raw data flow analysis test - * HELPERS: classes, properties, functions - */ - // TESTCASE NUMBER: 1 fun case_1(x: Out?) { if (x != null) { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/local-variables/type-parameters/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/local-variables/type-parameters/neg/1.fir.kt index fa0a164f4a2..54485bc5769 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/local-variables/type-parameters/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/local-variables/type-parameters/neg/1.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) - * - * SECTIONS: local-variables, type-parameters - * NUMBER: 1 - * DESCRIPTION: Local variables with forbidden type parameters. - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-8341 - */ - // TESTCASE NUMBER: 1 fun case_1() { val x1 = 1 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/1.fir.kt index 3612c725935..db8b3bd26c9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/1.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call - * NUMBER: 1 - * DESCRIPTION: Not null Smartcast doesn't work in case of property infix call - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36786 - */ - class C() { infix operator fun invoke(i: Int) { } //(1) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/2.fir.kt index c4a64045bd7..d45f733b499 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/2.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call - * NUMBER: 2 - * DESCRIPTION: is-check Smartcast doesn't work in case of property infix call - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36786 - */ - class B(val memberVal: Any) class C() { infix operator fun invoke(i: Int) { } //(1) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/3.fir.kt index 0247b3edd17..769733fcaa2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/3.fir.kt @@ -1,16 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call - * NUMBER: 3 - * DESCRIPTION: "Unsafe" cast doesn't work in case of property infix call - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36786 - */ - class B(val memberVal: Any) class C() { infix operator fun invoke(i: Int) { } //(1) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/4.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/4.fir.kt index b2aa4430e9d..73ed130c26f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/4.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/overload-resolution/building-the-overload-candidate-set-ocs/infix-function-call/pos/4.fir.kt @@ -1,17 +1,6 @@ // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT -/* - * KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (POSITIVE) - * - * SECTIONS: overload-resolution, building-the-overload-candidate-set-ocs, infix-function-call - * NUMBER: 4 - * DESCRIPTION: Local extension infix extension callables - * UNEXPECTED BEHAVIOUR - * ISSUES: KT-36786 - */ - - // TESTCASE NUMBER: 1, 2 // FILE: infixLib.kt package libPackage