Fix add modifier for replacement case, add expect/actual order tests
This commit is contained in:
committed by
Stanislav Erokhin
parent
2c521727c3
commit
e12de11ce9
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'expect'" "true"
|
||||
|
||||
public open <caret>header class My
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'expect'" "true"
|
||||
|
||||
public expect open class My
|
||||
@@ -0,0 +1 @@
|
||||
actual class My
|
||||
@@ -0,0 +1 @@
|
||||
actual class My
|
||||
@@ -0,0 +1 @@
|
||||
header fun foo(n: Int): Int
|
||||
@@ -0,0 +1 @@
|
||||
header fun foo(n: Int): Int
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'actual'" "true"
|
||||
|
||||
<caret>impl public tailrec fun foo(n: Int): Int = if (n < 2) n else foo(n - 1)
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'actual'" "true"
|
||||
|
||||
public actual tailrec fun foo(n: Int): Int = if (n < 2) n else foo(n - 1)
|
||||
Reference in New Issue
Block a user