Migration to expect/actual: fix multiplatform integration tests

This commit is contained in:
Mikhail Glukhikh
2017-09-15 10:44:43 +03:00
parent 27615209ed
commit 85d6a4d1af
65 changed files with 394 additions and 394 deletions
@@ -1,4 +1,4 @@
header class Foo(param: String) {
expect class Foo(param: String) {
var property: Int
fun <T> function(p: List<T>): T
+3 -3
View File
@@ -1,5 +1,5 @@
impl class Foo impl constructor(param: String) {
impl var property: Int = param.length
actual class Foo actual constructor(param: String) {
actual var property: Int = param.length
impl fun <T> function(p: List<T>): T = p.first()
actual fun <T> function(p: List<T>): T = p.first()
}