Report UNUSED_EXPRESSION on anonymous functions

This commit is contained in:
Denis Zharkov
2016-03-23 20:11:51 +03:00
parent 16736e3a0e
commit 628f9050fb
6 changed files with 24 additions and 22 deletions
@@ -58,11 +58,11 @@ class Outer {
}
fun outerFun() {
fun () {
<!UNUSED_EXPRESSION!>fun () {
}
fun () {
}<!>
<!UNUSED_EXPRESSION!>fun () {
}
}<!>
}