| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Switched to using .narrow where possible instead of constructing
singleton types by hand.
|
| |
|
| |
|
|
|
|
|
| |
Finishing up a bit of treegen I had left in mid-refactor.
|
| |
|
|
|
|
|
|
|
| |
Retains Import nodes until the typers phase so that they are available
to interactive compiler clients and other AST users. Adds position
information to imported names and renames.
|
| |
|
|
|
|
|
| |
More revealing error message for the crasher in #2433.
|
| |
|
|
|
|
|
|
| |
Getting variable binding bits into appropriate places. Waved goodbye to
PatternNodes.
|
|
|
|
|
|
| |
Pattern matcher starting to look like code you might take home to meet
your parents.
|
|
|
|
|
|
| |
Exceptions are part of the protocol between the interactive compiler and
its clients, so ensure that none are lost.
|
|
|
|
|
|
|
| |
Restored type of receiver in OutputChannel and Channel to Actor.
ReplyReactor inherits from ReplyableReactor. ReplyableReactor is now
private.
|
|
|
|
|
|
| |
Reactor uses Executor-based scheduler that does not attempt to resize
thread pool.
|
|
|
|
|
|
| |
ForkJoinScheduler only adjusts pool size when an actor calls
receive/receiveWithin.
|
| |
|
|
|
|
|
|
| |
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
|