-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
^KT-58239
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FILE fqName:<root> fileName:/expectedFun.kt | ||
FUN name:f visibility:public modality:FINAL <> () returnType:kotlin.String | ||
BLOCK_BODY | ||
RETURN type=kotlin.Nothing from='public final fun f (): kotlin.String declared in <root>' | ||
CONST String type=kotlin.String value="OK" | ||
FUN name:f visibility:public modality:FINAL <> () returnType:kotlin.String [expect] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// IGNORE_BACKEND_K2: ANY | ||
// LANGUAGE: +MultiPlatformProjects | ||
|
||
expect fun f(): String | ||
actual fun f(): String = "OK" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fun f(): String { | ||
return "OK" | ||
} | ||
|
||
expect fun f(): String |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// CHECK JVM_IR: | ||
// Mangled name: #f(){}kotlin.String | ||
// Public signature: /f|9098388873611041001[0] | ||
// Public signature debug description: f(){}kotlin.String | ||
// CHECK JS_IR NATIVE: | ||
// Mangled name: #f(){} | ||
// Public signature: /f|5316533450599009716[0] | ||
// Public signature debug description: f(){} | ||
fun f(): String | ||
|
||
// CHECK JVM_IR: | ||
// Mangled name: #f(){}kotlin.String | ||
// Public signature: /f|9098388873611041001[1] | ||
// Public signature debug description: f(){}kotlin.String | ||
// CHECK JS_IR NATIVE: | ||
// Mangled name: #f(){} | ||
// Public signature: /f|5316533450599009716[1] | ||
// Public signature debug description: f(){} | ||
expect fun f(): String |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FILE fqName:<root> fileName:/platform.kt | ||
FUN name:f visibility:public modality:FINAL <> () returnType:kotlin.String | ||
BLOCK_BODY | ||
RETURN type=kotlin.Nothing from='public final fun f (): kotlin.String declared in <root>' | ||
CONST String type=kotlin.String value="OK" | ||
FILE fqName:<root> fileName:/common.kt |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// FIR_IDENTICAL | ||
// IGNORE_BACKEND_K1: ANY | ||
// ^^^ K1 as well as K1-based test infra do not support "fragment refinement". | ||
|
||
// LANGUAGE: +MultiPlatformProjects | ||
|
||
// MODULE: common | ||
// FILE: common.kt | ||
|
||
expect fun f(): String | ||
|
||
// MODULE: platform()()(common) | ||
// FILE: platform.kt | ||
|
||
actual fun f(): String = "OK" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// FILE: platform.kt | ||
|
||
fun f(): String { | ||
return "OK" | ||
} | ||
|
||
// FILE: common.kt |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// FILE: platform.kt | ||
|
||
// CHECK JVM_IR: | ||
// Mangled name: #f(){}kotlin.String | ||
// Public signature: /f|9098388873611041001[0] | ||
// Public signature debug description: f(){}kotlin.String | ||
// CHECK JS_IR NATIVE: | ||
// Mangled name: #f(){} | ||
// Public signature: /f|5316533450599009716[0] | ||
// Public signature debug description: f(){} | ||
fun f(): String | ||
|
||
// FILE: common.kt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.