Replace hashCode usages in tests where it was supposed to fail on nullable receiver
Related to #KT-25039
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun A.AA.ext() {
|
||||
x.hashCode()
|
||||
x.length
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun A.AA.ext() {
|
||||
x?.hashCode()
|
||||
x?.length
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun explicitRef() {
|
||||
A.AA.x.hashCode()
|
||||
A.AA.x.length
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun explicitRef() {
|
||||
A.AA.x?.hashCode()
|
||||
A.AA.x?.length
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun implicitRef() {
|
||||
A.x.hashCode()
|
||||
A.x.length
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun implicitRef() {
|
||||
A.x?.hashCode()
|
||||
A.x?.length
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import A.AA.x
|
||||
|
||||
fun importedMember() {
|
||||
x.hashCode()
|
||||
x.length
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import A.AA.x
|
||||
|
||||
fun importedMember() {
|
||||
x?.hashCode()
|
||||
x?.length
|
||||
}
|
||||
Reference in New Issue
Block a user