Check lambda parameter for name shadowing

#KT-5160 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-04-17 10:40:41 +03:00
parent 708bfdbd5f
commit 32f609ceee
15 changed files with 61 additions and 19 deletions
@@ -37,6 +37,6 @@ fun test(b: B<out Number>) {
b.foo(Number::foobar)
b.baz {
b -> b checkType { _<B<out Number>>() }
<!NAME_SHADOWING!>b<!> -> b checkType { _<B<out Number>>() }
}
}