| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
closes #2421 -- now also deals with chained implicits
no review
|
|
|
|
|
| |
see #2634: updated docs to indicate zipped is strict
|
|
|
|
|
|
|
| |
the problem was that corresponds on Seq's does not check length of
sequences before testing the predicate, whereas in some cases that
predicate relied on this invariant (when it was doing substitution)
|
|
|
|
|
|
|
|
|
|
| |
closes #2797 -- no review (already done in ticket by Martin)
1) isHigherKindedType is now false for singletontype 2) toInstance
recurses when pre is a typevar: the problem is that pre.widen.typeSymbol
isNonBottomSubClass symclazz is true while pre.baseType(symclazz) is
NoType
|
|
|
|
|
|
| |
Added a --bare option to ShowPickled so I can diff signatures without
all the explicit indices blowing any points of similarity. No review.
|
|
|
|
|
|
| |
More return type annotation to work around my other frequent guest in
the world of #3082-connected pickler bugs. No review.
|
|
|
|
|
|
| |
What appears to be a workaround for #3082, which I am hitting literally
20 times a day. Will detail in ticket. Review by odersky.
|
|
|
|
|
|
| |
More partest cleanups, and putting back a couple lines in build.xml
which were left a little too commented out. No review.
|
|
|
|
|
|
|
| |
Looking at iulian's patch to the squeezer sent me off looking at
equalsStructure, which clearly was written in a bygone era. Rewritten
with modern tools. No review.
|
|
|
|
|
|
| |
Working on making the bootstrap process transparent and consistent. And
removed a bunch of what is now cruft in partest. No review.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Made the squeezer worthy of its name: a block with an empty list of
stats and another block as the result expression is rewritten to the
inner block (recursively). This makes the output from the pattern
matcher nicer, eliminating loads of empty nested blocks. Review by
extempore.
|
| |
|
|
|
|
|
|
|
| |
Reorganizes children a little so they always come back sorted the same
way the pickler does. Taking advantage of -Yfatal-warnings in the test
case. Review by community.
|
|
|
|
|
|
| |
timings on all the individual tests and prints it sorted by glacialness.
Review by community.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created -Yfatal-warnings, as otherwise I can't see how to make partest
fail on the presence of an unchecked warning. It'll come in handy
anyway. Now we have a real tough guy's command line for those who want
it:
% scalac -unchecked -deprecation -Yfatal-warnings `find . -name
'*.scala'`
Not for the timid. Review by community.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bash completion! The file is automatically created as part of the build
process and placed in $pack/etc.
% scala -Xprint
-Xprint-icode -Xprint-pos -Xprint-types -Xprint:
% scala -Xprint:
all flatten mixin tailcalls
cleanup icode namer terminal
closelim inliner packageobjects typer
constructors jvm parser uncurry
dce lambdalift pickler
erasure lazyvals refchecks
explicitouter liftcode superaccessors
% scala -g:
line none notailcalls source vars
% scala -Ystruct-dispatch:
invoke-dynamic mono-cache no-cache poly-cache
Review by community.
|
| |
|
|
|
|
|
|
|
|
| |
[scaladoc] Preliminary support for links and lists in wiki syntax,
as well as printing of lists. Fix to display of "inherits" classes.
Contributed by Pedro Furlanetto, no review. Member names in signature
are more contrasted and are aligned.
|
| |
|
|
|
|
|
|
|
|
|
| |
not being used. Updated partest with a --scalacheck option. Added
scalacheck tests to the ant build target. Still struggling with
ant/partest/classpaths so it's not on by default yet, but at least
./partest --scalacheck works. We... will... use... scalacheck. And we
will like it! No review.
|
| |
|
| |
|
|
|
|
|
| |
Fixed a little command line partest bug I introduced. No review.
|
| |
|
|
|
|
|
|
|
|
| |
The initial results of running a basic cut and paste detector over trunk
and trying to undo some of it. I can live with history but if I see
Cutty McPastington in new commits I will get all finger waggly. Don't
make me cross that ocean. No review.
|
| |
|
| |
|
|
|
|
|
|
|
| |
After the compiler refactor, we ended up with identical copies of
PickleBuffer and PickleFormat in the library and compiler. Deleted the
compiler versions and updated references. No review.
|
|
|
|
|
|
| |
Control-flow combinators do not require thread-local variable in
Reactor. Review by plocinic.
|
| |
|
| |
|
|
|
|
|
|
| |
Added TextComponent.paste, made some accidentially public publisher
methods protected.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case class field names your heart desires. Review by odersky.
scala> case class Foo[T](kilroy: String, burma: List[T], shave:
Seq[Int]) defined class Foo
scala> Foo("was here", List('myanmar), Seq(25, 25))
res0: Foo[Symbol] = Foo(was here,List('myanmar),List(25, 25))
scala> 0 to 2 map (res0 productElementName _)
res1: IndexedSeq[String] = IndexedSeq(kilroy, burma, shave)
|
| |
|
|
|
|
|
|
| |
Abstracting out a few more platform specific elements now that we have a
facility for doing so. Review by rytz.
|
| |
|
|
|
|
|
| |
Review by community.
|
|
|
|
|
|
|
|
|
| |
Some much needed housecleaning regarding system properties. If you can
possibly resist the temptation, it'd be great if people could try to
go through the properties classes to get and set them, and also to set
property values somewhere fixed rather than using strings directly.
Review by community.
|
|
|
|
|
|
| |
Yet another attempt at retaining ill-typed trees for the IDE ... this
time docs.comp should be unbroken.
|
|
|
|
|
|
|
| |
A simple command line parser to consolidate a bunch of different
implementations floating around trunk. And rolled it out in partest's
ConsoleRunner. Review by community.
|
|
|
|
|
|
|
| |
- Added fair mode to ForkJoinScheduler, which submits tasks to global
- queue with a 2% chance Reactor uses ForkJoinScheduler by default Moved
- ActorGC to scheduler package Various clean-ups
|
|
|
|
|
|
| |
Specialized types are not substituted inside type arguments. Closes
#3085, no review.
|
| |
|
|
|
|
|
|
| |
More laboring on Settings, ClassPaths, Ant Tasks, Partest, and similar
epicenters of thrilldom. No review.
|
|
|
|
|
|
| |
Some more code for seeing what's going on in in scalac's mind with
respect to who to load when and from where. No review.
|
| |
|
|
|
|
|
|
|
| |
Lowering the noise level in the classpath debugging output. Try ant
-Dscalac.args="-Ylog-classpath" if you would like the rare joy of having
a fair idea what is being used to compile what. No review.
|