Expected return type is in use now during function literal analysis #KT-9134 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// See KT-9134: smart cast is not provided inside lambda call
|
||||
fun bar(): Int = {
|
||||
var i: Int?
|
||||
i = 42
|
||||
<!DEBUG_INFO_SMARTCAST!>i<!>
|
||||
}()
|
||||
Reference in New Issue
Block a user