File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ title: Lazy Vals Initialization
44nightlyOf : https://docs.scala-lang.org/scala3/reference/changed-features/lazy-vals-init.html
55---
66
7- Scala 3 implements [ Version 6] ( https://docs.scala-lang.org/sips/improved-lazy-val-initialization.html#version-6---no-synchronization-on-this-and-concurrent-initialization-of-fields )
8- of the [ SIP-20] improved lazy vals initialization proposal.
7+ Scala 3 implements Version 6 of the [ SIP-20] improved lazy vals initialization proposal.
98
109## Motivation
1110
@@ -77,4 +76,4 @@ recursive lazy vals is undefined (initialization may result in a deadlock).
7776
7877* [ SIP-20]
7978
80- [ SIP-20 ] : https://docs. scala-lang.org/sips/improved-lazy-val-initialization.html
79+ [ SIP-20 ] : https://github.com/ scala/improvement-proposals/pull/19
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ title: "Union Types"
44nightlyOf : https://docs.scala-lang.org/scala3/reference/new-types/union-types.html
55---
66
7- A union type ` A | B ` has as values all values of type ` A ` and also all values of type ` B ` .
7+ A union type ` A | B ` includes all values of both types .
88
99
1010``` scala
You can’t perform that action at this time.
0 commit comments