Skip to content

Commit

Permalink
Add @sharable
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Jan 7, 2025
1 parent fcff94f commit 7319036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/src/dotty/tools/dotc/cc/CaptureSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,7 @@ object CaptureSet:
override def frozen = Frozen.All
override def putHidden(v: HiddenSet, elems: Refs): Boolean = false

@sharable
/** A frozen state that allows a Fresh.Cap instancce to subsume a
* reference `r` only if `r` is already present in the hidden set of the instance.
* No new references can be added.
Expand Down

0 comments on commit 7319036

Please sign in to comment.