Skip to content

Commit f2b5b35

Browse files
authored
Update unroll-default-arguments.md
1 parent b6ceef5 commit f2b5b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/unroll-default-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ compatibility. `@unroll` works by generating "unrolled" or "telescoping" forward
2222

2323
```scala
2424
// Original
25-
def foo(s: String, n: Int = 1, @unroll b: Boolean = true, l: Long = 0) = s + n + b + l
25+
def foo(s: String, n: Int = 1, @unroll b: Boolean = true, @unroll l: Long = 0) = s + n + b + l
2626

2727
// Generated
2828
def foo(s: String, n: Int, b: Boolean) = foo(s, n, b, 0)

0 commit comments

Comments
 (0)