| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Renamed overloaded toString variations throughout scala.xml to
buildString. Fixes bug #547, includes test case.
|
| |
|
|
|
|
|
|
| |
Modifications to the 10 failing test cases to make them passing test
cases in light of the patch from #1118.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Rewrote XML pull parser using exciting modern techniques.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Restructured Enumeration to have many fewer public members so people
can import TheirEnum._ with less trepidation. The HOFs formerly in
Enumeration were removed, but as they all merely forwarded to elements
anyway, do this:
object Foo extends Enumeration { val FOO, BAR = Value }
import Foo._
Foo.elements filter (_ == FOO)
|
|
|
|
|
|
| |
some small changes to implicits handling, existential abstraction, type
parameter bounds checking
|
| |
|
|
|
|
|
| |
add serialization test, disabled patmat debug traces
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Today's frustration commit! Disables all forwarders including main until
we can figure out how to avoid #1795, and reverts ostensible fix for
#1240 to avoid #1840, #1842, and the rest of the gang.
|
|
|
|
|
|
|
| |
Moved static forwarder generation behind -Xforwarders option. Special
cased main so #363 continues to work. Moved test case for #1745 into
pending since it requires forwarders to work.
|
| |
|
|
|
|
|
|
|
| |
changed overloaing resolution to make Builders work. generalized
companion object generation in Namers. Fixed a problem in Types that
made the collection build crash.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fixed Java signatures of forwarders for inherited members, and
references to scala.Nothing are translated to scala.runtime.Nothing$
(see #1254, #1822, #1555). Moved a Java test that was not run to its
proper subdirectory, to make partest happy.
|
|
|
|
|
| |
Correcting equality behaviour on IntMap.empty and LongMap.empty
|
| |
|
| |
|
| |
|
|
|
|
|
| |
reimplemented list union/intersect/diff as multiset ops
|
|
|
|
|
| |
chyanged implicits so that implicit Builder pattern works.
|
|
|
|
|
|
| |
Removed passing test for #1107 from pending; a larger test case already
exists in files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Better inference for implicits; some preparations for new collections.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Reverted a small parser change which had the unfortunate side effect of
making it much harder to enter code into the interpreter.
|
| |
|
|
|
|
|
|
|
| |
Fix and test case for #1107, many long days in the making. If you fully
understand why this change causes #1107 to work I implore you to add a
comment or two to Symbols.scala.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Reverting last commit as it seems to have caused breakage.
|
| |
|
| |
|
|
|
|
|
|
| |
fixed several problems with cyclic references uncovered by experimenting
with collections. Added early type definitions.
|
|
|
|
|
|
| |
Continuation of r17177 to also check type annotations; test case
broadened accordingly.
|
|
|
|
|
|
| |
Fix and test case for #935; added test in RefChecks to confirm that
parameterized annotations conform to type bounds.
|
|
|
|
|
|
| |
When inferring a type is scala.Whatever, have to take care to _root_
qualify it so a package named scala doesn't subvert it. Fixes #430.
|
| |
|
|
|
|
|
|
| |
Look for main method in companion object and add a static forwarder to
companion class if possible + test case; fixes bug #363.
|
|
|
|
|
|
| |
Improved error messages for certain illegal overriding situations, plus
test cases. Resolves bug #276.
|
|
|
|
|
| |
Issue warning when attempting to refine Unit, plus test case; bug #284.
|
|
|
|
|
|
|
| |
Fix and test case for #1565; an anonymous function can now be used as
a statement (primarily for use in the interpreter) unless it cannot be
distinguished from a self-type declaration.
|