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

No existentials #61

Closed
olafurpg opened this issue Feb 13, 2017 · 1 comment
Closed

No existentials #61

olafurpg opened this issue Feb 13, 2017 · 1 comment

Comments

@olafurpg
Copy link
Contributor

Test from srewrite

-  val w: Wrapper[TypArg] forSome { type TypArg >: Bar <: Foo } = ???
+  val w: existentials.Wrapper[_ >: existentials.Bar <: existentials.Foo] = ???

   val doNothingHere: Wrapper[_ >: Bar /* troll comment */ <: Foo] = ???

-  val p1: Pair[A, B] forSome {
-    type A <: Bar
-    type B >: Foo
-  } = ???
+  val p1: existentials.Pair[_ <: existentials.Bar, _ >: existentials.Foo] = ???
@olafurpg olafurpg added the dotty label Sep 12, 2017
@olafurpg olafurpg added this to the v0.5.1 milestone Sep 12, 2017
@olafurpg olafurpg removed this from the v0.5.4 milestone Nov 13, 2017
@olafurpg
Copy link
Contributor Author

Migration rules for Dotty will live in a different directory than the scalacenter/scalafix so that they can evolve at a different pace than Scalafix APIs. Thanks to recent improvements, custom rules can still have the identical UX as built-in rules.

  • automatically installed by sbt-scalafix
  • tab completions in the sbt shell like built-in rules
  • documentation on the main Scalafix website

bjaglin pushed a commit to liancheng/scalafix that referenced this issue May 23, 2023
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

No branches or pull requests

1 participant