Skip to content

Commit fdcef4c

Browse files
committed
Add @sharable annotation
1 parent 0f74d39 commit fdcef4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/core/Contexts.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,8 @@ object Contexts {
700700
myBounds = myBounds.updated(sym, b)
701701
def bounds = myBounds
702702
}
703-
object EmptyGADTMap extends GADTMap(SimpleMap.Empty) {
703+
704+
@sharable object EmptyGADTMap extends GADTMap(SimpleMap.Empty) {
704705
override def setBounds(sym: Symbol, b: TypeBounds) = unsupported("EmptyGADTMap.setBound")
705706
}
706707
}

0 commit comments

Comments
 (0)