Skip to content

Tour: traits page claims traits can't take parameters #3097

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
SethTisue opened this issue Oct 28, 2024 · 0 comments
Open

Tour: traits page claims traits can't take parameters #3097

SethTisue opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@SethTisue
Copy link
Member

though that's no longer the case in Scala 3

https://docs.scala-lang.org/tour/traits.html

traits cannot be instantiated and therefore have no parameters

@SethTisue SethTisue self-assigned this Nov 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant