File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,11 @@ object Annotations {
198198
199199 override def refersToParamOf (tl : TermLambda )(using Context ): Boolean =
200200 refersToLambdaParam(tp, tl)
201+
202+ override def hash : Int = tp.hash
203+ override def eql (that : Annotation ) = that match
204+ case that : CompactAnnotation => this .tp `eql` that.tp
205+ case _ => false
201206 end CompactAnnotation
202207
203208 /** Sanitize @retains arguments to approximate illegal types that could cause a compilation
Original file line number Diff line number Diff line change 7711 | race(src1, src2) // error
88 | ^^^^^^^^^^
99 | Found: (Source[T]^, Source[T]^)
10- | Required: Seq[Source[T]^{C}]
11- |
12- | where: C is a type variable with constraint >: scala.caps.CapSet and <: scala.caps.CapSet^
10+ | Required: Seq[Source[T]^]
1311 |
1412 | longer explanation available when compiling with `-explain`
File renamed without changes.
You can’t perform that action at this time.
0 commit comments