Fix intentions tests after types enhancement
Types became more accurate
This commit is contained in:
+1
-1
@@ -4,4 +4,4 @@ fun test() {
|
||||
val s = s()
|
||||
}
|
||||
|
||||
private fun s(): String = J.notNull()
|
||||
private fun s() = J.notNull()
|
||||
+1
-1
@@ -3,4 +3,4 @@ fun test() {
|
||||
val s = s()
|
||||
}
|
||||
|
||||
private fun s(): String? = J.nullable()
|
||||
private fun s() = J.nullable()
|
||||
+1
-1
@@ -15,4 +15,4 @@ class Foo<T> {
|
||||
}
|
||||
}
|
||||
|
||||
private fun <T> Foo<T>.t(l: String): T = map[l]
|
||||
private fun <T> Foo<T>.t(l: String) = map[l]
|
||||
+1
-1
@@ -11,5 +11,5 @@ class Foo<T> {
|
||||
return t(l)
|
||||
}
|
||||
|
||||
private fun t(l: String): T = map[l]
|
||||
private fun t(l: String) = map[l]
|
||||
}
|
||||
Reference in New Issue
Block a user