Revert "[FIR] Enable ForbidInferringTypeVariablesIntoEmptyIntersection in 2.0"

^KT-66196 Fixed
Keep it a warning in 2.0

This reverts commit be232d3e6f.
This commit is contained in:
Nikita Bobko
2024-02-28 12:59:18 +01:00
committed by Space Team
parent 5c2017fa5f
commit 052baf1b04
22 changed files with 22 additions and 22 deletions
@@ -7,5 +7,5 @@ fun test1(l: List<Number>) {
val i: Int = l.firstTyped()
val s: String = l.<!INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_ERROR!>firstTyped<!>()
val s: String = l.<!INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_WARNING!>firstTyped<!>()
}