| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Class that can be used for memoizing types in reified trees
|
|
|
|
|
|
|
| |
reflection refactoring so that we can now have a compiler that uses
reflection instead of class files (ReflectGlobal/ReflectMain). Still
needs some debugging to get it to run.
|
|
|
|
|
|
|
|
| |
Refactored everything that's clean in nsc.Main to nsc.Driver. Left the
cruft in Main which now inherits Driver. Makes it simpler to create new
compiler variants by subclassing Driver instead of adding yet one more
case to the convoluted logic in Main.
|
|
|
|
|
|
| |
Removed and consolidated several redundant tests which had filenames
"bugXXX" and "tXXX" where XXX == XXX. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some 11th hour modifications with the dual purpose of a smooth console
life for sbt and so the repl can be used on google app engine. Although
this patch may look largish to be entering at RC4, there isn't a lot
going on. It's trying to make these dangerous things:
- property and environment variable accesses
- thread creation
- signal handler installation
happpen in a sufficiently uniform way that people who don't want them
and places who don't allow them are not left with an unfixable situation
where things blow up inside private methods. Also, the (ahem) lower than
usual elegance levels are due to it being intended for 2.9.x as well.
Review by harrah.
|
|
|
|
|
|
|
| |
Modified scala.reflect package object not to throw an exception at
initialization time if it can't instantiate the value in question.
Review by odersky.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created infrastructure for testing icode + settings/partest yak shaving.
See enclosed test files/run/inline-ex-handlers.scala. To compare
optimized and unoptimized icode after a given phase, all you need in a
partest source file is this:
import scala.tools.partest.IcodeTest
object Test extends IcodeTest {
override def printIcodeAfterPhase = "inlineExceptionHandlers"
}
Other things can be done, see IcodeTest.scala. Review by ureche.
|
|
|
|
|
| |
corrected misspelled type params (capitalized names 3x)
|
| |
|
|
|
|
|
|
| |
Bug in optimizer eliminated potentially exceptional not-dead code.
Streamlined isSideEffecting logic. Review by ureche.
|
| |
|
|
|
|
|
|
|
| |
Improved documentation for scala.collection.immutable.List and
scala.collection.immutable.Queue. Contributed by Matthew Pocock during
the Monthly Docspree. Review by phaller.
|
|
|
|
|
| |
0-arg getClass reach bytecode. References SI-4931, no review.
|
|
|
|
|
| |
a hurry, no review.
|
|
|
|
|
| |
References SI-4931, no review.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Moved files to welcome our ant overlords, no review.
|
|
|
|
|
|
| |
[recommit] Backend optimization: Inline exception handlers. Review by
dragos.
|
|
|
|
|
|
| |
Literals now take Any as argument (used to represent free values in
reified trees).
|
| |
|
|
|
|
|
| |
New utilitly method to create scope with some elements.
|
|
|
|
|
|
|
|
|
| |
Major rewrite of the testing infrastructure for the presentation
compiler. Added several new tests that will be part of the nightly
build. Once the move to SBT is completed I will look into how to extract
the test infrastructure (as it should really not be living in the
compiler codebase). Review by dragos
|
| |
|
| |
|
|
|
|
|
|
| |
Improved the error message given when a concrete method implementation
doesn't match the abstract one. No review.
|
|
|
|
|
|
|
| |
Removing the code which has been deprecated since 2.8.0. Contributed by
Simon Ochsenreither, although deleting code is such fun one hesitates to
call it a contribution. Still, we will. Closes SI-4860, no review.
|
|
|
|
|
|
|
| |
Fixed a method which got hosed in the reflection refactor because the
meaning of "this" changed. This is a perfect opportunity to yell "What
is the meaning of this!" No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A conceivably pretty bad performance bug in builders.
SI-4821 pointed out that ArrayBuffer's ++ checks for a cheap size method
by matching on IndexedSeq, but mutable.IndexedSeq, so all immutable
collections are thrown in the same group as linear seqs. I went looking
for other examples of this and found them, in key classes like Builder.
The "type shadowing trap" is a serious issue in the collections. Closes
SI-4821, no review.
|
|
|
|
|
|
| |
Reverted r25440 (update of forkjoin library) until all build problems
are resolved. No review.
|
|
|
|
|
|
| |
Split up adapt in some smaller methods; added code lifting for
non-function types to it.
|
|
|
|
|
| |
Added debug output to track down Fregor's "failing to lift" problem.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Pulled up the SuperMixin that calls closeOperations for frames into
window and let dialogs mix it in as well. Closes #3708.
|
|
|
|
|
|
| |
Added GraphicsConfiguration to window, frame, dialog constructors.
Closes #3853.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Turned up the defense against compiler exceptions in the repl. And gave
in and disabled an assertion I should have disabled two years ago.
Closes SI-4874, no review.
|