NJ2K: fix testdata of MultiFileTestGenerated.testNullabilityByDFa

This commit is contained in:
Ilya Kirillov
2020-08-26 13:23:21 +03:00
parent c8ab827fa0
commit 949c67078d
2 changed files with 5 additions and 2 deletions
@@ -39,6 +39,10 @@ class SomeServiceUsage {
// nullable, safe-call
fun aString6(): String? {
val s = serviceNullable
return s?.nullableString()
return if (s != null) {
s.nullableString()
} else {
null
}
}
}