Skip to content

Commit e1cf2c9

Browse files
committed
Add @sharable to global data
1 parent a32b4b8 commit e1cf2c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Implicits.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ object Implicits {
310310
em"no implicit values were found that $qualify"
311311
}
312312

313-
object NoMatchingImplicits extends NoMatchingImplicits(NoType, tpd.EmptyTree)
313+
@sharable object NoMatchingImplicits extends NoMatchingImplicits(NoType, tpd.EmptyTree)
314314

315-
val NoMatchingImplicitsFailure: SearchFailure =
315+
@sharable val NoMatchingImplicitsFailure: SearchFailure =
316316
SearchFailure(NoMatchingImplicits)
317317

318318
/** An ambiguous implicits failure */

0 commit comments

Comments
 (0)