You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/tests/semanticdb/expect/InstrumentTyper.scala b/tests/semanticdb/expect/InstrumentTyper.scala
index eb63e65538..a9feaae974 100644
--- a/tests/semanticdb/expect/InstrumentTyper.scala+++ b/tests/semanticdb/expect/InstrumentTyper.scala@@ -23,4 +23,10 @@ class InstrumentTyper { self: AnyRef =>
type AnnotatedType = Int @param
def singletonType(x: Predef.type) = ???
final val clazzOf = classOf[Option[Int]]
+ type paramAlias = param+ type paramRec = param @param+ type AnnotatedType = Int @param+ type AnnotatedType2 = Int @paramAlias+ type AnnotatedType3 = Int @(param @param)+ type AnnotatedType4 = Int @paramRec
}
Though AnnotatedType3 and AnnotatedType4 is type AnnotatedType3 = Int @(param @param) and type AnnotatedType4 = Int @paramRec respectively, they down to @param in SemanticDB.
See: #12885 (comment)
Nested annotations are ignored in SemanticDB signatures
Compiler version
7945794
Minimized example
Output
Though
AnnotatedType3
andAnnotatedType4
istype AnnotatedType3 = Int @(param @param)
andtype AnnotatedType4 = Int @paramRec
respectively, they down to@param
in SemanticDB.Expectation
?
The text was updated successfully, but these errors were encountered: