We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
+_
-_
Recently added to Scala 2 in: scala/scala#9605 (Under flag -Xsource:3 + kind-projector flag -P:kind-projector:underscore-placeholders typelevel/kind-projector#186) And to Scala 3 in: scala/scala3#12378 (Under flag -Ykind-projector:underscores)
-Xsource:3
-P:kind-projector:underscore-placeholders
-Ykind-projector:underscores
Note: Scala (with the above flags) now accepts tokens +/- followed by _ as a type lambda placeholder. Some examples w/ edge cases below:
+
-
_
The text was updated successfully, but these errors were encountered:
@neko-kai Will this change be included in 2.12.14 + -Xsource:3?
Sorry, something went wrong.
@dos65 Yes scala/scala#9620
-Xsource3
dos65
No branches or pull requests
Recently added to Scala 2 in: scala/scala#9605 (Under flag
-Xsource:3
+ kind-projector flag-P:kind-projector:underscore-placeholders
typelevel/kind-projector#186)And to Scala 3 in: scala/scala3#12378 (Under flag
-Ykind-projector:underscores
)Note: Scala (with the above flags) now accepts tokens
+
/-
followed by_
as a type lambda placeholder. Some examples w/ edge cases below:The text was updated successfully, but these errors were encountered: