| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Cleanup in aisle patmat
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hash consing of trees within pattern match analysis was broken, and
considered `x1.foo#1` to be the same tree as `x1.foo#2`, even though
the two `foo`-s referred to different symbols.
The hash consing was based on `Tree#correspondsStructure`, but the
predicate in that function cannot veto correspondance, it can only
supplement the default structural comparison.
I've instead created a custom tree comparison method for use in
the pattern matcher that handles the tree shapes that we use.
(cherry picked from commit 79a52e6807d2797dee12bab1730765441a0e222d)
|
| |
| |
| |
| | |
While investigating https://github.com/scala/scala-dev/issues/251
|
| |
| |
| |
| | |
While investigating https://github.com/scala/scala-dev/issues/251
|
|\ \
| |/
|/| |
Fix documentation of immutable.Queue
|
|/
|
| |
`enqueue` appends elements to the `Queue`, it doesn't prepend them.
|
|\
| |
| | |
Fix spec links to `07-implicits.html`
|
| |
| |
| |
| |
| | |
The file referenced by the current links actually exists under
http://www.scala-lang.org/files/archive/spec/2.11/ but with a different
design than the rest. It seems to be left over from an older version.
|
|\ \
| | |
| | | |
Use ClassTag instead of Manifest in AssertUtil.assertThrows.
|
|/ /
| |
| |
| |
| | |
This allows it to work in Scala.js, which supports `ClassTag`s but
not `Manifest`s.
|
|\ \
| | |
| | | |
SI-3236 constant types for literal final static java fields
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For example, public static final byte b = 127 is allowed, but 128 is
not.
Also factor out a method that parses a literal. It could be used to
parse annotations (and their literal arguments) in Java sources.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since we don't parse Java expressions, fields of Java classes coming
from source files never have constant types. This prevents using
static java fields in annotation arguments in mixed compilation
This PR assigns constant types to final static java fields if the
initializer is a simple literal.
|
|\ \ \
| | | |
| | | | |
SI-9834 Improve error on failed op=
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If rewriting `x += y` fails to typecheck, emit error messages
for both the original tree and the assignment.
If rewrite is not attempted because `x` is a val, then say so.
The error message at `tree.pos` is updated with the additional advice.
SI-8763 Crash in update conversion
When there are already errors, don't attempt mechanical rewrites.
|
|\ \ \
| | | |
| | | | |
Upgrade MiMa to 0.1.13
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
fix eBNF error by removing wrong closing brace
|
| |/ / / |
|
|/ / /
| | |
| | | |
SI-10086 NumericRange.min|max with custom Integral
|
|\ \ \
| | | |
| | | | |
upgrade MiMa to 0.1.12
|
|/ / /
| | |
| | |
| | |
| | | |
dogfooding the latest. upgrading all the way from 0.1.8 -- there have
been a bunch of improvements since then.
|
| | |
| | |
| | |
| | | |
This fixes the vertical bar problem on Chrome
(https://github.com/mathjax/MathJax/issues/1300);
|
|\ \ \
| | | |
| | | | |
Improve performance of REPL autocompletion
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The code used to fuzzily match, e.g, `declasses` with `getDeclaredClasses`
was exploring fruitless parts of the search space. The enclosed test
case was hanging the REPL.
This commit improves this by performing a prefix match of the unconsumed input
against the current chunk of the candidate before exploring the `inits`.
Fixes scala/scala-dev#271
|
|\ \ \
| |/ /
|/| | |
Use https links to JS and CSS in the spec when serving from https
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The spec is published on a server that supports https
(https://www.scala-lang.org/files/archive/spec/2.11/) and this comes up
as the default in search results (as it should) but the link to
MathJAX is hardcoded to http, which prevents any web browser that cares
about security from loading it.
This commit changes the links to MathJAX and to the Highlight.js
stylesheet to be scheme-relative (like the link to JQuery already was).
|
|\ \
| | |
| | | |
SI-10037 ASR/LSR switched in ICodeReader
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Noticed when inlining from a class file.
The test doesn't work because inlining fails with
bytecode unavailable due to:
```
scala.reflect.internal.MissingRequirementError: object X in compiler mirror not found.
```
|
|\ \ \
| |/ /
|/| | |
move to latest Akka 2.3.x release
|
| | |
| | |
| | |
| | |
| | | |
Akka 2.3.16 was released in October 2016:
http://akka.io/news/2016/10/30/akka-2.3.16-released.html
|
|\ \ \
| | | |
| | | | |
don't mass-delete old nightlies at release time
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
as happened with 2.12.0, for gory details see
https://github.com/scala/scala-dev/issues/257
fix suggested by Stefan Zeiger
|
|\ \ \
| | | |
| | | | |
Silence SBT logging about macros and incremental compilation.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since upgrading to SBT 0.13.12, clean builds have incurred warnings like:
Because JavaMirrors.scala contains a macro definition, the following
dependencies are invalidated unconditionally: ....
This commit disables this behaviour of the SBT incremental compiler in
the library and reflect projects, as these aren't regular macros (the
macro implementations are hard coded in the compiler in `FastTrack`)
so the new behaviour isn't actually improving correctness of inc.
compilation.
|
|\ \ \ \
| |_|_|/
|/| | | |
[backport] Replace println with log calls in BrowsingLoaders
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
This alternative symbol loader is used in the presentation compiler and
may generate output even when the compiler should be silent.
See SI-8717 for more context, even though this does not really
fix the ticket.
|
|\ \ \
| |/ /
|/| | |
SI-9913 Lead span iterator finishes at state -1
|
| | |
| | |
| | |
| | |
| | | |
Extra privacy, and the tricky state transition is made
more tabular.
|
| | |
| | |
| | |
| | |
| | | |
Even if no elements fail the predicate (so that the trailing
iterator is empty).
|
|\ \ \
| | | |
| | | | |
[backport] Bump sbt.version to 0.13.12, without breaking
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
SI-9832 Fix line endings in junit test
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
SI-2712 Add support for higher order unification
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | |/ / /
| |/| | | |
SI-9832 -Xlint:help shows default
|