Never take ExpectedInfo from outer expression "as is"

This commit is contained in:
Valentin Kipyatkov
2015-10-02 21:38:43 +03:00
parent da7c62e788
commit fd6244ac51
4 changed files with 27 additions and 2 deletions
@@ -0,0 +1,9 @@
fun foo(p1: Int, p2: Int) {
}
fun bar(b: Boolean) {
foo(if (b) 1 else <caret>)
}
// ABSENT: p1
// ABSENT: p2