Skip to content

Last example of Mixin class composition tour uses App trait without any explanation #1109

Closed
@jrnos

Description

@jrnos

The last example on page https://docs.scala-lang.org/tour/mixin-class-composition.html defines an object StringIteratorTest extending App i.e. creates an executable using App trait. However, that concept has not been mentioned earlier in the tour neither is explained here. Shouldn't this concept be explained shortly on the same page (or add a link to https://www.scala-lang.org/api/current/scala/App.html)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions