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 70a2ce4 commit 1298965Copy full SHA for 1298965
tests/rewrites/i8982.check
@@ -0,0 +1,10 @@
1
+
2
+object Foo:
3
+ def bar(x: Int): Unit =
4
+ println(x)
5
6
+class Baz(n: Int):
7
+ def printRepeat(repeat: Int) =
8
+ for {
9
+ x <- 1 to repeat
10
+ } println(s"$x - ${n * x}")
0 commit comments