Skip to content

Commit a9c1ef0

Browse files
committed
address review comments
1 parent 352cc6f commit a9c1ef0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/src/dotty/tools/dotc/transform/SyntheticMembers.scala

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ object SyntheticMembers {
2727
/** Attachment recording that an anonymous class should extend Mirror.Sum */
2828
val ExtendsSumMirror: Property.StickyKey[Unit] = new Property.StickyKey
2929

30-
/** Attachment recording that an anonymous class should extend Mirror.Sum */
30+
/** 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+
*/
3134
val GenericTupleArity: Property.StickyKey[Int] = new Property.StickyKey
3235
}
3336

0 commit comments

Comments
 (0)