no senseless comparison for error type
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
package a
|
||||
|
||||
fun foo() {
|
||||
val a = <!UNRESOLVED_REFERENCE!>getErrorType<!>()
|
||||
if (<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>a<!> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>==<!> null) { //no senseless comparison
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user