Skip to content

Commit 9449ee4

Browse files
authored
Merge pull request #5459 from lampepfl/lazy-vals-spec-typo
Fix missing argument in spec's pseudocode
2 parents 614265d + 667e6df commit 9449ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed/lazy-vals-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Foo {
4040
flag = LazyVals.get(this, bitmap_offset)
4141
LazyVals.STATE(flag, <field-id>) match {
4242
case <state-0> =>
43-
if (LazyVals.CAS(this, bitmap_offset, flag, <state-1>)) {
43+
if (LazyVals.CAS(this, bitmap_offset, flag, <state-1>, <field-id>)) {
4444
try result = <RHS>
4545
catch {
4646
case ex =>

0 commit comments

Comments
 (0)