| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Fix for #460 (and its duplicate #1413) plus test case. Method f can now
be invoked via (f _)(x) without requiring .apply(x).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Began evaluation of the tests in pending, and moved/updated/removed
.scala and .check files as warranted.
|
| |
|
|
|
|
|
|
| |
hopefully fixed the build by fixing deSkolemize, and adapting the new
collection libraries to stricter override checking.
|
|
|
|
|
|
|
| |
Fixed an ambiguity problem with implcits, and a spurious cyclic
reference error mentioned by Jorge. Tightened overriding checks (test
case is new collection libraries).
|
| |
|
| |
|
|
|
|
|
|
| |
widened access check for readResolve to include all access modifiers;
fixes bug #1385
|
| |
|
|
|
|
|
| |
managed to move timeout.scala the whole way into pending
|
|
|
|
|
| |
moved timeout.scala back to pending and documented why it's there
|
|
|
|
|
|
| |
moved most of the passing tests from pending to files ; reunited
inner.scala with inner.check
|