[FIR] Don't add @EnhancedVisibility to types with @Nullable annotation

This commit is contained in:
Dmitriy Novozhilov
2021-03-12 15:55:46 +03:00
committed by TeamCityServer
parent a7c08345b4
commit 3d1f4b8386
22 changed files with 106 additions and 43 deletions
@@ -9,7 +9,7 @@ class Test : J {
<this>.#<$$delegate_0>.takeNotNull(x = x)
}
override fun takeNullable(x: @EnhancedNullability String?) {
override fun takeNullable(x: String?) {
<this>.#<$$delegate_0>.takeNullable(x = x)
}
@@ -23,7 +23,7 @@ class Test : J {
}
@Nullable
override fun returnNullable(): @EnhancedNullability String? {
override fun returnNullable(): String? {
return <this>.#<$$delegate_0>.returnNullable()
}