We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6247589 commit b8b019bCopy full SHA for b8b019b
library/src/scala/annotation/unroll.scala
@@ -1,4 +1,12 @@
1
package scala.annotation
2
3
@experimental("under review as part of SIP-61")
4
+/**The `@unroll` annotation is reserved for parameters of classes and methods.
5
+ *
6
+ * It enables to add new parameters while preserving backwards binary compatibility,
7
+ * through code generation of hidden forwarder methods (but visible in the binary API).
8
9
+ * Read more about parameter unrolling, and the usage of `@unroll` in the reference documentation:
10
+ * https://dotty.epfl.ch/docs/reference/experimental/unrolled-defs.html
11
+ */
12
final class unroll extends scala.annotation.StaticAnnotation
0 commit comments