-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename scala.runtime.{Tuple => Tuples} #11002
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
Conversation
/** Filters out those members of the tuple for which the predicate `P` returns `false`. | ||
* A predicate `P[X]` is a type that can be either `true` or `false`. For example: | ||
* ``` | ||
* type IsString[x] = x match { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As pointed out here #10896 this example is misleading and won't work without a type bound
type IsString[x] <: Boolean = x match {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing that is independent of this PR.
eee615d
to
aaa6ec1
Compare
To avoid confusion with scala.Tuple. Part of scala#10602.
We should not lose the git history of those sources. We can achieve this the same way I did in #10998. |
e506915
to
aaa6ec1
Compare
@nicolasstucki it looks like github rename detection in the changes view doesn't handle multiple copies of the same file, but git does: if I do |
We cannot use |
To avoid confusion with scala.Tuple. Part of #10602.