Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b6bc4b6

Browse files
noti0na1bracevac
authored andcommittedMar 12, 2025
Forget to reuse the bit
1 parent 00e2e7b commit b6bc4b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎compiler/src/dotty/tools/dotc/core/Mode.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ object Mode {
9797
* Since this mode is only used during annotation typing,
9898
* we can reuse the value of `ImplicitExploration` to save bits.
9999
*/
100-
val InCaptureSet: Mode = newMode(13, "InCaptureSet")
100+
val InCaptureSet: Mode = ImplicitExploration
101101

102102
/** We are currently unpickling Scala2 info */
103-
val Scala2Unpickling: Mode = newMode(14, "Scala2Unpickling")
103+
val Scala2Unpickling: Mode = newMode(13, "Scala2Unpickling")
104104

105105
/** Signifies one of two possible situations:
106106
* 1. We are currently checking bounds to be non-empty, so we should not

0 commit comments

Comments
 (0)
Please sign in to comment.