[FE 1.0] Report INTEGER_OPERATOR_RESOLVE_WILL_CHANGE in missing cases
Covered places: - local properties - vars - return positions of functions and lambdas ^KT-45970 Fixed ^KT-55358 Fixed
This commit is contained in:
committed by
Space Team
parent
a979960e63
commit
bd3a28d04d
+16
@@ -0,0 +1,16 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
abstract class Parser {
|
||||
open fun parseString(x: String): List<Int> = null!!
|
||||
|
||||
fun parse(name: String): Int = null!!
|
||||
fun parse(name: String, content: String): Int = null!!
|
||||
}
|
||||
|
||||
class Some(strings: List<String>) {
|
||||
val parser = object : Parser() {
|
||||
override fun parseString(x: String) = listOfInt
|
||||
}
|
||||
private val listOfString = strings
|
||||
private val listOfInt: List<Int> = listOfString.map(parser::parse)
|
||||
}
|
||||
Reference in New Issue
Block a user