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 b6ceef5 commit f2b5b35Copy full SHA for f2b5b35
content/unroll-default-arguments.md
@@ -22,7 +22,7 @@ compatibility. `@unroll` works by generating "unrolled" or "telescoping" forward
22
23
```scala
24
// Original
25
-def foo(s: String, n: Int = 1, @unroll b: Boolean = true, l: Long = 0) = s + n + b + l
+def foo(s: String, n: Int = 1, @unroll b: Boolean = true, @unroll l: Long = 0) = s + n + b + l
26
27
// Generated
28
def foo(s: String, n: Int, b: Boolean) = foo(s, n, b, 0)
0 commit comments