CreateExpect: should save receiver annotations

#KT-32694 Fixed
This commit is contained in:
Dmitry Gridin
2019-08-22 17:15:39 +07:00
parent 42ef9d634a
commit 5928a36fa2
6 changed files with 29 additions and 2 deletions
@@ -0,0 +1 @@
annotation class SimpleA
@@ -0,0 +1 @@
expect fun @receiver:SimpleA String.myExtension()
@@ -0,0 +1,4 @@
// "Create expected function in common module testModule_Common" "true"
// DISABLE-ERRORS
actual fun @receiver:SimpleA String.<caret>myExtension() { println(this) }
@@ -0,0 +1,4 @@
// "Create expected function in common module testModule_Common" "true"
// DISABLE-ERRORS
actual fun @receiver:SimpleA String.<caret>myExtension() { println(this) }