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 289a260 commit 00fa56bCopy full SHA for 00fa56b
_tour/mixin-class-composition.md
@@ -73,7 +73,8 @@ We would like to combine the functionality of `StringIterator` and `RichIterator
73
74
```tut
75
object StringIteratorTest extends App {
76
- class RichStringIter extends StringIterator(args(0)) with RichIterator
+ val s: String = "SCALA"
77
+ class RichStringIter extends StringIterator(s) with RichIterator
78
val richStringIter = new RichStringIter
79
richStringIter foreach println
80
}
0 commit comments