We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 352cc6f commit a9c1ef0Copy full SHA for a9c1ef0
compiler/src/dotty/tools/dotc/transform/SyntheticMembers.scala
@@ -27,7 +27,10 @@ object SyntheticMembers {
27
/** Attachment recording that an anonymous class should extend Mirror.Sum */
28
val ExtendsSumMirror: Property.StickyKey[Unit] = new Property.StickyKey
29
30
- /** Attachment recording that an anonymous class should extend Mirror.Sum */
+ /** Attachment recording that an anonymous class (with the ExtendsProductMirror attachment)
31
+ * should implement its `fromProduct` method in terms of the runtime class corresponding
32
+ * to a tuple with that arity.
33
+ */
34
val GenericTupleArity: Property.StickyKey[Int] = new Property.StickyKey
35
}
36
0 commit comments