We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f74d39 commit 94ed64bCopy full SHA for 94ed64b
compiler/src/dotty/tools/dotc/core/Contexts.scala
@@ -700,7 +700,8 @@ object Contexts {
700
myBounds = myBounds.updated(sym, b)
701
def bounds = myBounds
702
}
703
- object EmptyGADTMap extends GADTMap(SimpleMap.Empty) {
704
- override def setBounds(sym: Symbol, b: TypeBounds) = unsupported("EmptyGADTMap.setBound")
+
+ @sharable object EmptyGADTMap extends GADTMap(SimpleMap.Empty) {
705
+ override def setBounds(sym: Symbol, b: TypeBounds) = unsupported("EmptyGADTMap.setBounds")
706
707
0 commit comments