don't report unnecessary smart cast on receiver
This commit is contained in:
@@ -3,8 +3,8 @@ package d
|
||||
|
||||
fun bar(a: Any?) {
|
||||
if (a != null) {
|
||||
<!DEBUG_INFO_AUTOCAST!>a<!>.foo() //overload resolution ambiguity
|
||||
<!DEBUG_INFO_AUTOCAST!>a<!>.sure() //overload resolution ambiguity
|
||||
a.foo() //overload resolution ambiguity
|
||||
a.sure() //overload resolution ambiguity
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user