Add test (with incorrect work yet) for KT-17374
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
<error descr="[NO_ACTUAL_FOR_EXPECT] Expected function 'foo' has no actual declaration in module jvm_base for JVM"><error descr="[NO_ACTUAL_FOR_EXPECT] Expected function 'foo' has no actual declaration in module jvm_user for JVM">expect fun foo(): Int</error></error>
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun bar(): Int {
|
||||
return 42
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun user(): Int {
|
||||
return 2 * bar()
|
||||
}
|
||||
Reference in New Issue
Block a user