A test for local delegated property deserialization
This commit is contained in:
committed by
alexander-gorshenev
parent
e841798c47
commit
2c31173725
@@ -370,6 +370,12 @@ task slackReportNightly(type:NightlyReporter) {
|
|||||||
externalWindowsReport = "external_windows_results/reports.json"
|
externalWindowsReport = "external_windows_results/reports.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
linkTest("localDelegatedPropertyLink") {
|
||||||
|
goldValue = "OK\n"
|
||||||
|
source = "lower/local_delegated_property_link/main.kt"
|
||||||
|
lib = "lower/local_delegated_property_link/lib.kt"
|
||||||
|
}
|
||||||
|
|
||||||
task sum(type: KonanLocalTest) {
|
task sum(type: KonanLocalTest) {
|
||||||
source = "codegen/function/sum.kt"
|
source = "codegen/function/sum.kt"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fun foo(): String{
|
||||||
|
val bar: String by lazy {
|
||||||
|
"OK"
|
||||||
|
}
|
||||||
|
|
||||||
|
return bar
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fun main() {
|
||||||
|
println(foo())
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user