| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Set encoding to UTF-8 regardless of system default, and applied patch
from jython trac to improve cursor handling on OSX.
|
|
|
|
|
|
|
|
|
| |
Importing the jline sources, since it seems to have been abandoned and
we are slowly diverging. This checkin differs from the version in the
CVS repo[*] only in having been generified by ricky clarkson.
[*] See http://jline.sourceforge.net/source-repository.html
|
| |
|
|
|
|
|
|
|
| |
Patch from Mirko Stoker to add comment nodes to compilation units
allowing access to comment contents and positions for all tools which
use the Scala AST.
|
|
|
|
|
|
| |
fixed #2421: checkBounds in typedImplicit0 to filter out implicit
searchresults that result in nonsenical type instantiations
|
|
|
|
|
|
|
| |
by accident as I go - I just noticed #2175 is working. That's
even better than fixing them on purpose, in the same way that
"money won is twice as sweet as money earned."
|
|
|
|
|
| |
Reverted the BigDecimal implicits added for ticket #1813.
|
|
|
|
|
|
|
|
|
| |
BuildManagers weren't deleting invalidated classfiles; dependency
tracker was only recording the dependency of Foo$.class on the source
of object Foo ... Foo.class is now also recorded; the Eclipse Java
builder could copy modified Scala sources to the output folder during
incremental builds. Fixes #2428.
|
|
|
|
|
|
|
| |
to enjoy it when I no longer have to work around bugs in the pattern
matcher while implementing the pattern matcher. Metacircularity: more
fun applied to features than to bugs!
|
|
|
|
|
|
| |
Inching some more complicated and confusingly redundant bits toward
pattern classes.
|
|
|
|
|
|
| |
or obsolete code now that I'm gaining some confidence about what exists
for a reason and what exists only because it once existed.
|
|
|
|
|
|
| |
Moving pattern related logic into Patterns and type related logic into
MixTypes.
|
|
|
|
|
|
|
|
| |
Enhanced the previous string length fix to work, and made it possible to
enable/disable deprecation warnings on the fly in the repl, like so:
settings.deprecation = true
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Pattern Matcher Productions is pleased to announce, for what might be
the first time ever, the thrilling arrival of... Polly Morphism! (Cue
arena music) Now that the basic pattern variations are straitjacketed I
can corral the strays.
|
|
|
|
|
|
| |
Some trees make a nice smooth transition into a Pattern class, others
fight tooth and nail. Partway there.
|
|
|
|
|
|
| |
Introduced type as well as value Sequence in package collection, so that
back-migration will be easier.
|
| |
|
| |
|
|
|
|
|
| |
Commented out some position assertions which are crashing valid code.
|
|
|
|
|
| |
Fixed issue #2427: ListBuffer.update wrongly changes list size
|
|
|
|
|
|
|
| |
Bit by bit, the ad hoc tests and transformations on Trees will make
their way into a Pattern subclass specifically designed for the intended
semantics.
|
| |
|
|
|
|
|
| |
Patch from Mirko Stoker to add positions to Modifiers.
|
|
|
|
|
|
|
|
| |
Most of this big patch is organizational, but there's also a healthy
dose of new code. If my last few changelog comments about patternization
were at all unclear, you can now see the skeleton of what I'm after in
matching/Patterns.scala.
|
| |
|
| |
|
|
|
|
|
|
| |
Actors waiting in receive search for messages on their underlying
thread. Simplified receiveWithin.
|
|
|
|
|
|
|
|
| |
Fix and tests for positions issues with context/view bounds and
multiple definitions; extended the ranges for defns/decls to cover
their introducing keywords; removed an unused IDE hook; some whitespace
cleanup.
|
| |
|
|
|
|
|
|
|
|
| |
don't expand type aliases that take type arguments in
typedTypeConstructor, as that bypasses refchecks have to expand type
alias without type arguments, as AnyRef must disappear (problem with
cycles during bootstrap)
|
|
|
|
|
|
| |
there were some issues with heap pressure that made the compile take
incredibly long, these were solved by increasing the max allowed heap
|
| |
|
|
|
|
|
| |
Fixed thread-visibility issues causing scala-nightly-args 387 to fail.
|
| |
|
|
|
|
|
| |
Added -Ypmat-debug setting.
|
|
|
|
|
| |
Copied 1.5 backport of ForkJoinPool to jvm15-library.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The sort of pattern matcher commit which makes water taste better and
birds sing more sweetly. Hard to be more specific than that, but let's
just say that the number of IQ points one has to have on hand to grok
the pattern matcher is down at least 25 from this time last year.
|
|
|
|
|
|
| |
improved annotations copying (documentation, moved meta-annotations,
added tests)
|
| |
|
|
|
|
|
| |
Removing Tree => Pattern crutch implicits as patternization proceeds.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixed #2316: No longer cache entire SearchResult when looking for implicits in the parts of the expected type. (patch by retronym -- see ticket)
A SearchResult may contain symbols local to the scope of the search that
were used as implicit parameters, so they are not safely cacheable. The
fix for #2101 does not suffice. That patch avoided bound symbols being
duplicated, but the problem is much worse.
The implicits for an expected type depend on more than just that type,
so we cannot cache them using the expected type as a key.
The neg/t2316 test illustrates this: T1 may provide two implicits, one
requires an implicit T2, another an implicit T3. If an implicit T1
is first required when only a T2 is in scope, the SearchResult will
describe the corresponding implicit. Now, if we enter an implicit value
of type T3 into scope, the search should fail (it is ambiguous), but the
cache does not take this new fact into account.
The patch replaces the erroneous aggressive caching with a more
conservative version that only caches ImplicitInfo's.
|