Redundant lambda arrow: fix false positive in 'when/if' without block #KT-28047 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0bfcfb5716
commit
4ae837e669
@@ -0,0 +1,7 @@
|
||||
fun test(): (Int) -> Int {
|
||||
return if (true) {
|
||||
{ 42 }
|
||||
} else {
|
||||
{ _ -> 42 }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user