| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Did some more polishing on the infamous partial function error message.
No review.
|
|
|
|
|
|
| |
Moved sigint handler to InterpreterLoop and made it discriminate based
on contents of current line. No review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fleshed out the mock code a little further so it's easy for closures to
become SAMs.
// implicit not necessary, but improves fun factor
scala> implicit def mkUFn(x: AnyRef) = scala.tools.reflect.UniversalFn(x)
mkUFn: (x: AnyRef)scala.tools.reflect.UniversalFn
scala> (() => 5*5*5).as[java.util.concurrent.Callable[Int]]
res1: java.util.concurrent.Callable[Int] = <function1>
scala> res1.call
res2: Int = 125
No review.
|
|
|
|
|
|
| |
Some hardening of the repl's internals extracted from a more interesting
patch in progress. No review.
|
|
|
|
|
| |
Followed up on the claim that wrapArray can be removed. No review.
|
|
|
|
|
|
| |
Some cleanups in the *Runners and a few compiler I/O conveniences. No
review.
|
|
|
|
|
|
|
|
| |
Refactored parallel collections for pluggable task support
implementations.
No review.
|
|
|
|
|
|
|
| |
Temporarily disabled varargs annotation on constructors.
No review.
|
| |
|
|
|
|
|
|
| |
The usual flailing associated with changing a shell script and using too
recent a feature. Hopefully unbreaks build, no review.
|
|
|
|
|
|
|
|
|
| |
Moved the painful-in-ant git/svn revision getting logic into bash
where it's at least somewhat less painful. Made it more flexible for
easy use in more places since we presently have all kinds of revision
figuring logic variations in other build files (sbaz, installer,
scala-documentation, scala-tool-support, etc.) No review.
|
|
|
|
|
|
| |
Some work on error messages, somewhat based on ideas in #3092. No
review.
|
|
|
|
|
|
| |
Seeing if I can unbreak things without actually removing the visible
motivation for the whole exercise. No review.
|
|
|
|
|
|
|
| |
Making the installation of the repl sigint handler take place less
eagerly. And more relevantly to recent hangs, made the repl only create
daemon threads. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A new totally safe signal manager, along with all the support code
needed for that. See the classes in scala.tools.reflect.* for
interesting new weapons. Also includes inaugural handy usage:
scala> val x = 10
x: Int = 10
scala> while (true) ()
[ctrl-C]
Execution interrupted by signal.
scala> x
res1: Int = 10
No review, but feedback welcome.
|
|
|
|
|
|
| |
A manifest init order issue motivates some shuffling around and making
confusing identifiers more explicit. No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
| |
Changes to the vector class that will be needed for ParVector.
Review by Rompf.
|
|
|
|
|
|
|
| |
You shall not pass the testing stage when abort crashes the resident
compiler. previously it succeeded even though the error message was
printed. Review by phaller
|
| |
|
|
|
|
|
|
| |
I keep forgeting which phase the browser is currently showing, so added
phase name. No review
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
|
| |
In the absence of known reasons why some exceptions are intercepted or
have their stack trace printed and others fly unchallenged, changed
script and object runners to handle everything consistently when an
exception is thrown. Closes #3978 again, no review.
|
|
|
|
|
|
|
| |
Added toParIterable, toParSeq, toParSet and toParMap conversions.
No review.
|
|
|
|
|
|
| |
Temporarily reverted sun.misc.* using code until reflective version is
complete. No review.
|
|
|
|
|
| |
Review by Rytz.
|
|
|
|
|
|
|
|
|
| |
Changing EnclosingMethod generation not to drop the trailing $ from the
name of the container class. I'm sure this was done for some reason but
proguard objects rather strenuously (and fails) because it can't find
the method, since it says it's in the class but is really in the object.
Review by dragos.
|
|
|
|
|
|
|
| |
Added varargs annotation.
Review by Rytz.
|
|
|
|
|
|
| |
Applied patch from davetron5000, improving documentation on ProductN and
FunctionN traits. Closes #4021.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Review by extempore.
|
|
|
|
|
|
| |
Make interrupts non-interruptible, otherwise the interrupt exception can
just go direct to the user (IDE). Review by odersky.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fixes #3647, closes #3647, adds a test case for it, and a missing test
case for #3935.
No review.
|
| |
|
|
|
|
|
|
|
| |
Removed inline annotation on a private stream method.
No review.
|
|
|
|
|
|
|
|
| |
Fixes #3686 by special casing Stream transformers depending on target
type.
Review by extempore.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.x
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
| |
removed duplicated error message for bad compiler options made some
cleanups in detach plugin code
|
|
|
|
|
|
|
|
|
|
| |
(1) the Scala types in ch.epfl.lamp.compiler.msil.emit now use Scala
collections instead of Java's, (2) a few bug fixes regarding metadata
parsing, (3) GenMSIL emits output useful for IDE debugging, (4)
TypeParser now enters symbols for generics in case the assemblies being
linked sport them, (5) a few fixes for bytecode verif in GenMSIL.
review by rytz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some refinement of the error messages when the found and required types
have the same simple names. No longer must we watch people scratch their
heads at such messages as:
found : scala.collection.Set[String]
required: Set[String]
Now so clear you could enjoy a movie through it:
found : scala.collection.Set[String]
required: scala.collection.immutable.Set[String]
No review.
|