Propagate control flow to bound double colon expressions

"Unused expression" should be reported on unused double colon expressions, this
is postponed

 #KT-12551 Open
This commit is contained in:
Alexander Udalov
2016-05-30 13:35:00 +03:00
parent 0ce6bd9999
commit e2d6e0cbab
8 changed files with 55 additions and 9 deletions
@@ -15,6 +15,6 @@ data class User(val surname: String)
fun foo() {
bar<String> {
<!UNUSED_EXPRESSION!><!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>User<!>::<!OVERLOAD_RESOLUTION_AMBIGUITY!>surname<!><!>
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>User<!>::<!OVERLOAD_RESOLUTION_AMBIGUITY!>surname<!>
}
}