[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
85949b387e
commit
cd890d5833
@@ -1,9 +0,0 @@
|
||||
// KT-12338 Compiler error ERROR: Rewrite at slice LEXICAL_SCOPE key: REFERENCE_EXPRESSION with when and function references
|
||||
|
||||
fun a() { }
|
||||
|
||||
fun test() {
|
||||
when {
|
||||
true -> ::a
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,10 @@
|
||||
// FIR_IDENTICAL
|
||||
// KT-12338 Compiler error ERROR: Rewrite at slice LEXICAL_SCOPE key: REFERENCE_EXPRESSION with when and function references
|
||||
|
||||
fun a() { }
|
||||
|
||||
fun test() {
|
||||
when {
|
||||
true -> <!UNUSED_EXPRESSION!>::a<!>
|
||||
true -> ::a
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user