| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Removes underscore from the list of characters used during semicolon
inference which it believes cannot start a statement on a new line,
fixing bug #756; adds 1 test case, updates 1.
|
|
|
|
|
| |
scalap flags adjusted according to man page
|
| |
|
|
|
|
|
|
| |
Remove type annotations as part of SIP 00002 and removed function from
Global that is not used any more
|
|
|
|
|
|
| |
Adds Interpreter.reset(), a fast method for resetting an existing
interpreter instance to a clean slate.
|
| |
|
|
|
|
|
| |
Test that make sure the implementation in SIP 00002 behaves correctly
|