Fix intentions testData: types rendering changed

Some more FQ names appeared.
The reason is that earlier such types were Lazy and their `toString` method return short version.
But after type enhancement they are represented with JetTypeImpl
This commit is contained in:
Denis Zharkov
2015-06-18 13:44:13 +03:00
parent f0833d626a
commit befe025d21
6 changed files with 13 additions and 13 deletions
@@ -1,7 +1,7 @@
// WITH_RUNTIME
// SUGGESTED_NAMES: i, getN
// PARAM_TYPES: String?, String, kotlin.CharSequence?, CharSequence
// PARAM_DESCRIPTOR: val property: (String..String?) defined in test
// PARAM_TYPES: kotlin.String?, kotlin.String, kotlin.CharSequence?, CharSequence
// PARAM_DESCRIPTOR: val property: (kotlin.String..kotlin.String?) defined in test
fun test() {
val property = System.getProperty("some")
val n = <selection>property?.length()</selection>
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// SUGGESTED_NAMES: i, getN
// PARAM_TYPES: String?, String, kotlin.CharSequence?, CharSequence
// PARAM_DESCRIPTOR: val property: (String..String?) defined in test
// PARAM_TYPES: kotlin.String?, kotlin.String, kotlin.CharSequence?, CharSequence
// PARAM_DESCRIPTOR: val property: (kotlin.String..kotlin.String?) defined in test
fun test() {
val property = System.getProperty("some")
val n = i(property)
}
private fun i(property: String?) = property?.length()
private fun i(property: String?) = property?.length()
@@ -1,7 +1,7 @@
// WITH_RUNTIME
// SUGGESTED_NAMES: i, getN
// PARAM_TYPES: String, CharSequence
// PARAM_DESCRIPTOR: val property: (String..String?) defined in test
// PARAM_TYPES: kotlin.String, CharSequence
// PARAM_DESCRIPTOR: val property: (kotlin.String..kotlin.String?) defined in test
fun test() {
val property = System.getProperty("some")
val n = <selection>property.length()</selection>
@@ -1,7 +1,7 @@
// WITH_RUNTIME
// SUGGESTED_NAMES: i, getN
// PARAM_TYPES: String, CharSequence
// PARAM_DESCRIPTOR: val property: (String..String?) defined in test
// PARAM_TYPES: kotlin.String, CharSequence
// PARAM_DESCRIPTOR: val property: (kotlin.String..kotlin.String?) defined in test
fun test() {
val property = System.getProperty("some")
val n = i(property)