[IR] add new testdata after rebase

This commit is contained in:
Zalim Bashorov
2020-11-05 23:27:41 +03:00
committed by teamcityserver
parent 3b1a6389ab
commit a5b224fda1
33 changed files with 1493 additions and 0 deletions
@@ -0,0 +1,42 @@
class Test : J {
constructor(j: J) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
private val j: J
field = j
private get
@NotNull(...)
override fun returnNotNull(): @EnhancedNullability String {
return #j.returnNotNull()
}
@Nullable(...)
override fun returnNullable(): @EnhancedNullability String? {
return #j.returnNullable()
}
override fun returnsFlexible(): @FlexibleNullability String? {
return #j.returnsFlexible()
}
override fun takeFlexible(x: @FlexibleNullability String?) {
#j.takeFlexible(x = x)
}
override fun takeNotNull(x: @EnhancedNullability String) {
#j.takeNotNull(x = x)
}
override fun takeNullable(x: @EnhancedNullability String?) {
#j.takeNullable(x = x)
}
}