Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

generate & instead of with if Scala 3 #185

Closed
xuwei-k opened this issue Oct 18, 2024 · 1 comment · Fixed by #187
Closed

generate & instead of with if Scala 3 #185

xuwei-k opened this issue Oct 18, 2024 · 1 comment · Fixed by #187

Comments

@xuwei-k
Copy link
Member

xuwei-k commented Oct 18, 2024

case fms => fms.mkString("self: ", " with ", " =>")

case fms => fms.mkString("self: ", " with ", " =>")

Welcome to Scala 3.5.1 (1.8.0_422, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
                                                                                                                                           
scala> trait A; trait B; trait C { self : A with B => }
1 warning found
-- [E003] Syntax Warning: ------------------------------------------------------
1 |trait A; trait B; trait C { self : A with B => }
  |                                     ^^^^
  |                with as a type operator has been deprecated; use & instead
@eed3si9n
Copy link
Member

Here's PR for this - #187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants