| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Code to support invoke-dynamic for structural types. Not yet complete,
built around the JSR 292 spec of December 2008.
|
| |
|
| |
|
|
|
|
|
| |
Correcting equality behaviour on IntMap.empty and LongMap.empty
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
reverting my previous pointless change and moving it to where it makes
some sense (ScalacFork)
|
|
|
|
|
| |
Generate java signatures for private members as well (#1395)
|
|
|
|
|
| |
scalac ant task now supports @argfile (needed to build .net on windows)
|
| |
|
| |
|
|
|
|
|
| |
fixed msil build; currently exclude new collection library
|
|
|
|
|
| |
Fixed #1761, function literal symbols are now erased by resetAttrs.
|
| |
|
| |
|
|
|
|
|
| |
reimplemented list union/intersect/diff as multiset ops
|
|
|
|
|
| |
chyanged implicits so that implicit Builder pattern works.
|
|
|
|
|
|
|
|
|
|
|
|
| |
They are located in package scala.annotation. Also in this patch:
* numerous test cases for both annotations
* addition of @tailrec and @switch in a few strategic locations
* fixes for critical section NewScanners methods which were not being
compiled into switches, immediately proving the value of @switch
* tail recursive implementations for Iterator.{ dropWhile, drop}
and List.dropWhile tagged with @tailrec, closing bug #1376
|
|
|
|
|
| |
Various cleanups and redundancy-removal related to properties.
|
|
|
|
|
| |
Better inference for implicits; some preparations for new collections.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Let package object members override package directory members; plus
improvements that allow bottstrapping with a package object scala.
Refactored implicits.
|
| |
|
|
|
|
|
|
|
|
|
| |
Modifies try/catch/finally to allow arbitrary expressions for try.
Formerly { ... } was required for try. Now expressions like:
val x = try Integer.parseInt("xx") catch { case e => 10 }
work as one would hope.
|
|
|
|
|
|
| |
Miles and I agreed it is not sensible for the compiler to make decisions
about what's visible in the IDE: so, some cutting.
|
|
|
|
|
| |
More consolidation and duplication elimination in Properties.
|
| |
|
|
|
|
|
| |
apparently ant might pass an empty string as an arg - discard it.
|
|
|
|
|
|
|
| |
manage existing settings and add new ones. It's paving the way for
low-fuss scalac preferences so we can exert fine grained config file
based control over compiler behavior.
|
| |
|
|
|
|
|
|
| |
Bytecode generated for structural calls is improved slightly. A test
shows an improvement of roughly 5% for structural methods' call times.
|
|
|
|
|
| |
Making very repetitive Settings code less repetitive.
|
|
|
|
|
|
|
| |
with -Ydebugger, then calls to breakIf(assertion, arg1, arg2, ...) will
drop out to a repl if assertion proves true. This is very primitive at
present and will improve.
|
|
|
|
|
|
| |
Code generation will keep the order of then/else parts of an if that
tests for null
|
| |
|
|
|
|
|
|
| |
Refactored a pile of duplicated Properties code into a trait which is
used by the library, compiler, and partest Properties objects.
|
| |
|
|
|
|
|
| |
removed deprecated warning, updated svn props, cleaned up code
|
| |
|
|
|
|
|
|
| |
made unsafeTypeParams transform infos less eagerly. Fixed private[this]
variance hole.
|
|
|
|
|
| |
accidental commit by drmaciver.
|
|
|
|
|
|
| |
Changed linkedSym to use rawInfo rather than info so the linked* methods
in Symbol consistently refrain from forcing the type.
|
| |
|
|
|
|
|
| |
Fixed failing stability test by restoring removed code.
|
|
|
|
|
|
| |
Reverted a small parser change which had the unfortunate side effect of
making it much harder to enter code into the interpreter.
|
| |
|
|
|
|
|
|
|
|
|
| |
Another big Interpreter patch, this one mostly attacking
InterpreterLoop. This adds opening cuts of a number of features: tab
completion for repl identifiers (requires using -Ycompletion for now),
a :power repl command that enables power user commands, and more. I'll
document it properly once it's a bit less experimental.
|
|
|
|
|
|
|
|
| |
Removed most of the assertions from NewScanners and replaced them with
parse errors so as to limit the number of gratuitous compiler crashes.
See at least tickets #822, #1674, #1682, and #1765. The error cascading
still needs work.
|