Add test on signatures with nullable abbreviated types

Currently test fails, see KT-40199
This commit is contained in:
Dmitry Savvinov
2020-07-10 20:01:22 +07:00
parent e0bc54cd82
commit 8890ae10d4
6 changed files with 23 additions and 0 deletions
@@ -0,0 +1,5 @@
expect class Foo()
typealias TypeAlias = Foo
expect fun bar(x: TypeAlias?)
@@ -0,0 +1,3 @@
actual class Foo actual constructor()
actual fun bar(x: TypeAlias?) { }
@@ -0,0 +1,3 @@
actual class Foo actual constructor()
actual fun bar(x: TypeAlias?) { }
@@ -0,0 +1,5 @@
class Foo
typealias TypeAlias = Foo
fun bar(x: TypeAlias?) { }
@@ -0,0 +1,5 @@
class Foo
typealias TypeAlias = Foo
fun bar(x: TypeAlias?) { }