summaryrefslogtreecommitdiff
path: root/test/files/run/transform.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/transform.scala')
-rw-r--r--test/files/run/transform.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/transform.scala b/test/files/run/transform.scala
index 5cc1c49d6f..82f924950d 100644
--- a/test/files/run/transform.scala
+++ b/test/files/run/transform.scala
@@ -1,5 +1,5 @@
object Test {
- val x = 1 to 10 toBuffer
+ val x = (1 to 10).toBuffer
def main(args: Array[String]): Unit = {
x transform (_ * 2)