Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update 02_DelegatedProperties.md
  • Loading branch information
taku333 authored May 28, 2024
commit 62819e76c2d6700251c6063a453d44fa946e177c
4 changes: 2 additions & 2 deletions examples/07_Delegation/02_DelegatedProperties.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ class LazySample {
}

val lazyStr: String by lazy {
println("computed!") // 2
print("computed! ") // 2
"my lazy"
}
}

fun main() {
val sample = LazySample() // 1
println("lazyStr = ${sample.lazyStr}") // 2
println(" = ${sample.lazyStr}") // 3
println("lazyStr = ${sample.lazyStr}") // 3
}
```

Expand Down