-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Merge 2.12.x to 2.13.x [ci: last-only] #6575
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
Merge 2.12.x to 2.13.x [ci: last-only] #6575
Conversation
Fixes scala/scala-dev#480. It reports whenever `AbstractFile.getUrl` returns `null` if verbose is enabled.
Don't compute `locations` in macroclassloader cache
Cut some slack for `def f(i: Int) = ???`.
Also in the 2.13.x-new-collections branch, therefore [nomerge].
The warning in TypeDiagnostics checks for an attachment where a variable is introduced.
Simple rename to `NoWarnAttachment`. It is still used selectively to turn off unused warning for pattern variables.
I put this in in cdf7419, right before the PR got merged, and moved the condition that used to be in the `else` block into a `devWarning`, as I was pretty sure we'd never get here at or later than erasure (otherwise, there's a chance we'd let a `Constant(<unerased type>)` get to the backend. I wasn't willing to wager on it for an assertion, though. In retrospect it would have been better to poke around with `-Xdev` on first, so I would notice the reversed condition. (I build with the flag at work so someone sees the warnings, is how I noticed.)
As previously done in Play: playframework/play-ws#174
The command can be used by, for example, emacs to query completions.
Ensure that modules are built in each stage (if they need building), including even starr. This ensures that the locker scaladoc when building quick runs with a freshly built xml on the classpath, which can be necessary for binary compatibility. Run scaladoc only in the quick stage (not starr or locker), for scala and the modules. Don't use `clone --reference` to build starr, doesn't work with shallow clones (on travis). Set `STARR_VER` to the full `SCALA_VER` + a suffix, so that it gets the same treatment in sbt with respect to cross-versioning (binary vs full). The quick stage either publishes to scala-integration or sonatype (for releases). [nomerge] because this commit is in the 2.13.x-new-collections branch.
Bootstrap using a local directory
Fix up embarrassing typo.
Explicit type annotations and !isEmpty replace with nonEmpty
No warn-unused:params for unimplemented method
Add a `completions` command to 2.12.x similar to the one found in sbt
Bump JarJar version to avoid invalid bytecode on Java9
Apply no warn attachment to binds
This version of Jline fixes three things for Emacs, which means all the special handling of emacs can be removed from scala-code. The things fixed in Jline 2.14.6 are: - ANSI colors are now enabled for Emacs. - Terminal echo is now disabled for Emacs. - History is enabled for all dump terminals.
AFAIU Scala doesn't have "named functions". Also made the language around NonLocalReturnException a bit more lenient, so that a conforming implementation may optimize in some cases by not throwing.
The latter is reserved for function literals, function types, or when we have an application `f(a)`, and we don't know the type of `f` yet. If the type is a method type, it makes more sense to call `f` a method.
The implementation had diverged
Update spec [ci: last-only]
Ref scala/bug#10781 This is in preparation for Float range and Double range removal in 2.13.x (scala#6468).
Update test case to changed JDK behavior
Fix tests on windows
Deprecate Float range and Double range
bump version to 2.12.7, restarr onto 2.12.6
e90b842 to
b66710a
Compare
|
gah, |
|
something in Adriaan's refactorings made it so that |
b66710a to
9469ac6
Compare
9469ac6 to
0561ba9
Compare
|
okay that wasn't tooooo hard to straighten out |
|
I believe there was a merge error here: The changes in 957780f didn't make it to 2.13.x. I think the first merge command should have been |
Fixes scala/scala-dev#480. It reports whenever `AbstractFile.getUrl` returns `null` if verbose is enabled. [cherry-picked from 957780f after this was accidentally discarding in scala#6575]
merge conflicts were trivial except for the
isEmacsShellstuff in the REPL. I resolved it by removingisEmacsShellentirely, since it was deprecated in 2.12.6.