Fix intentions tests after types enhancement

Types became more accurate
This commit is contained in:
Denis Zharkov
2015-06-18 13:39:41 +03:00
parent cfadda8061
commit f0833d626a
8 changed files with 8 additions and 8 deletions
@@ -4,4 +4,4 @@ fun test() {
val s = s()
}
private fun s(): String = J.notNull()
private fun s() = J.notNull()
@@ -3,4 +3,4 @@ fun test() {
val s = s()
}
private fun s(): String? = J.nullable()
private fun s() = J.nullable()
@@ -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]
@@ -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]
}