Relax requirements on function modifiers in multiplatform projects

Allow to implement header functions with external/tailrec/inline/infix/operator
functions
This commit is contained in:
Alexander Udalov
2016-12-14 21:17:09 +03:00
parent 64867409b7
commit a57455ce62
8 changed files with 65 additions and 75 deletions
@@ -1,14 +1,9 @@
header infix fun Int.plus(s: CharSequence): Int
header fun Int.minus(s: String): Int
header operator fun Double.times(x: CharArray)
header fun Double.divide(x: ByteArray)
header external fun f1()
header fun g1()
header inline fun f2()
header fun g2()
header tailrec fun f3()
header fun g3()