Raw FIR: use lambda parameter type if available

This commit is contained in:
Jinseong Jeon
2021-01-18 00:18:38 -08:00
committed by Mikhail Glukhikh
parent fa0b933bc8
commit 2e660ef62a
7 changed files with 19 additions and 20 deletions
@@ -47,8 +47,8 @@ fun bar() {
b checkType { _<String>() }
}
foo { (a, b): B ->
a checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Double>() }
b checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Short>() }
<!INAPPLICABLE_CANDIDATE!>foo<!> { (a, b): B ->
a checkType { _<Double>() }
b checkType { _<Short>() }
}
}