Do not render redundant Nullable annotations when generating declarations

#KT-36321 fixed
This commit is contained in:
Ilya Kirillov
2020-02-04 19:19:22 +03:00
parent 4df8744b34
commit 0fe5694cb7
5 changed files with 39 additions and 1 deletions
@@ -0,0 +1,11 @@
// "Create function 'bar'" "true"
// ERROR: Unresolved reference: bar
fun foo(foo: Foo) {
val s = foo.eval()
bar(s)
}
fun bar(s: String?) {
<selection>TODO("Not yet implemented")<caret></selection>
}