Add modality/visibility/inline to all expect/actual declarations in QF

So #KT-25539 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-07-25 17:27:18 +03:00
parent 54b63ea43a
commit 14d6560e67
23 changed files with 119 additions and 44 deletions
@@ -0,0 +1,4 @@
// "Add 'inline' modifier" "true"
// ERROR: Only type parameters of inline functions can be reified
expect fun <reif<caret>ied T> inlineFun(t: T)
@@ -0,0 +1,4 @@
// "Add 'inline' modifier" "true"
// ERROR: Only type parameters of inline functions can be reified
expect inline fun <reified T> inlineFun(t: T)
@@ -0,0 +1 @@
actual fun <reified T> inlineFun(t: T) {}
@@ -0,0 +1 @@
actual inline fun <reified T> inlineFun(t: T) {}