Skip to content

Commit ef73eb5

Browse files
committed
Merge pull request #208 from axel22/master
Forgot to add a contributor
2 parents 65b4e2d + e7169b2 commit ef73eb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sips/pending/_posts/2013-05-31-improved-lazy-val-initialization.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ title: SIP-20 - Improved Lazy Vals Initialization
55

66
---
77

8-
**By: Aleksandar Prokopec, Miguel Garcia, Jason Zaugg, Hubert Plociniczak, Martin Odersky**
8+
**By: Aleksandar Prokopec, Miguel Garcia, Jason Zaugg, Hubert Plociniczak, Viktor Klang, Martin Odersky**
9+
910

1011
## Abstract ##
1112

@@ -30,7 +31,7 @@ Here is an example of an manually written implementation equivalent to what the
3031
var value_0: Int = _
3132
private def value_lzycompute(): Int = {
3233
this.synchronized {
33-
if (bitmap_0) {
34+
if (!bitmap_0) {
3435
value_0 = 0
3536
bitmap_0 = true
3637
}

0 commit comments

Comments
 (0)