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 @@
impl fun Int.plus(s: CharSequence): Int = 0
impl infix fun Int.minus(s: String): Int = 1
impl fun Double.times(x: CharArray) {}
impl operator fun Double.divide(x: ByteArray) {}
impl fun f1() {}
impl external fun g1()
impl fun f2() {}
impl inline fun g2() {}
impl fun f3() {}
impl tailrec fun g3() {}