Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
//KT-571 Type inference failed
|
||||
fun <T, R> let(t : T, body : (T) -> R) = body(t)
|
||||
private fun double(d : Int) : Int = let(d * 2) {it / 10 + it * 2 % 10}
|
||||
|
||||
Reference in New Issue
Block a user