summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Closes #3493. Review by extempore.Aleksandar Pokopec2010-07-092-1/+22
|
* closes #3603. no reviewAleksandar Pokopec2010-07-093-2/+57
|
* close #3648.Lukas Rytz2010-07-095-2/+20
|
* close #3649. no reviewLukas Rytz2010-07-091-0/+2
|
* cleaned up the mess that resulted from cobbling...Adriaan Moors2010-07-092-41/+53
| | | | | | | | cleaned up the mess that resulted from cobbling together fixes for see #3477 and see #3152 adjustTypeArgs and methTypeArgs now return a LinkedHashMap[Symbol, Option[Type]] TODO: check that type inference is still just as lightning fast as before
* made typechecker logging methods final so they ...Adriaan Moors2010-07-081-3/+3
| | | | | made typechecker logging methods final so they can actually be inlined
* closes #3622: refchecks erased types without un...Adriaan Moors2010-07-084-2/+22
| | | | | | closes #3622: refchecks erased types without uncurrying them first review by odersky
* closes #742.Adriaan Moors2010-07-083-15/+24
| | | | | review by extempore
* closes #3507: don't generate manifests where we...Adriaan Moors2010-07-083-1/+20
| | | | | | closes #3507: don't generate manifests where we can't refer to the existentially bound value
* closes #3494.Adriaan Moors2010-07-082-1/+8
| | | | | review by prokopec
* closes #3486.Adriaan Moors2010-07-084-2/+27
| | | | | | | | | fixed by having mixin do the cloning at the beginning of erasure and then updating the symbol's info to transform it to be valid in current phase review by odersky
* closes #3477.Adriaan Moors2010-07-082-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | note that all type parameters must be reported in error messages about failing type inference, but only type parameters that were inferred successfully should be substituted the idea of mapping type parameter symbols to the corresponding type ref in order to make substitution the identity does not seem to work, leading to errors like: src/library/scala/collection/immutable/SortedMap.scala:38: error: type mismatch; found : scala.collection.immutable.SortedMap[A,B(in method empty)] required: scala.collection.immutable.SortedMap[A,B(in trait SortedMap)] override def empty: SortedMap[A, B] = SortedMap.empty ^ (I guess that's why they were retracted before, but that wasn't done consistently, leading to #3152 -- my first attempt at fixing the latter lead to this bug... I've assigned #3152 to you Martin, as I can't decide how to fix it.) review by odersky
* closes #3399.Adriaan Moors2010-07-083-24/+56
| | | | | | | this broke the invariant that argss is a regular matrix review by odersky
* closes #3374.Adriaan Moors2010-07-085-41/+44
| | | | | review by odersky
* closes #3249.Adriaan Moors2010-07-083-5/+25
| | | | | review by dragos
* closes #3247: syntax error regarding context bo...Adriaan Moors2010-07-082-3/+3
| | | | | | closes #3247: syntax error regarding context bounds generalized to include view bounds as we cannot easily be more specific no review
* closes #2416.Adriaan Moors2010-07-087-27/+118
| | | | | | | | | | this patch introduces a new subclass of TypeTree: TypeTreeWithDeferredRefCheck, which tracks the type args and type params of a type application when it was beta-reduced during typing without checking that the application was well-kinded -- that check must wait until refchecks, but was never performed since the application had been beta-reduced away caveat discovered while working on the fix: adapt turned all trees for which _.isType holds into TypeTree's review by odersky
* closes #2331: the pre-transform in Erasure did ...Adriaan Moors2010-07-086-151/+154
| | | | | | | | | | | | | | closes #2331: the pre-transform in Erasure did not correctly recurse in the case of a TypeApply. It simply returned the function, which might very well have been, say, a Select node, which had to be erased in case the qualifier's type is a refinement. (sorry about the whitespace changes) review by odersky
* [scaladoc] Follow-up on review SCL-110. No review.Gilles Dubochet2010-07-061-3/+3
|
* [scaladoc] Follow-up on review SCL-95. No review.Gilles Dubochet2010-07-061-1/+1
|
* [scaladoc] Hiding full comments in template pag...Gilles Dubochet2010-07-062-2/+4
| | | | | | | [scaladoc] Hiding full comments in template pages at startup is done by CSS instead of JavaScript, leading to better performance. Contributed by Pedro Furlanetto. Review by dubochet.
* [scaladoc] Implements documentation of higher-k...Gilles Dubochet2010-07-063-56/+63
| | | | | | [scaladoc] Implements documentation of higher-kinded entities. Closes #3618. Review by moors.
* A brown bag on the head fix to that last patch.Paul Phillips2010-07-051-1/+1
|
* The take/drop methods in IndexedSeqOptimized we...Paul Phillips2010-07-051-4/+4
| | | | | | | The take/drop methods in IndexedSeqOptimized were overridden to call slice without checking bounds, causing it to fail when the argument is too large. Restored expected behavior. No review.
* Put a couple null checks in the inliner so it d...Paul Phillips2010-07-051-2/+2
| | | | | | Put a couple null checks in the inliner so it doesn't NPE under -Ydebug. No review.
* Fixes #3584. No review.Aleksandar Pokopec2010-07-051-21/+23
|
* Fixes #3580. Review by extempore.Aleksandar Pokopec2010-07-052-1/+18
|
* Tightened how the repl prints types so we don't...Paul Phillips2010-07-041-1/+1
| | | | | | Tightened how the repl prints types so we don't see OverloadedTypes slip through sometimes. Review by apocalisp.
* Test case closes #261, no review.Paul Phillips2010-07-032-0/+18
|
* When compilation fails because of an unimplemen...Paul Phillips2010-07-034-19/+96
| | | | | | | | When compilation fails because of an unimplemented abstract var, give a more precise error message about what happened. Also avoid issuing the same error twice because neither getter nor setter is implemented. Closes #36, review by rytz.
* Routed all places in trunk which look for jar f...Paul Phillips2010-07-022-5/+4
| | | | | | | | | | Routed all places in trunk which look for jar files through the same function, and then changed the default behavior to recognize jars even if they don't have a *.jar extension by squinting at the first few bytes of the file. Closes #3000 (THE AMAZING TICKET 3000!), review by phaller.
* A cosmetic change which serves to document that...Paul Phillips2010-07-021-1/+1
| | | | | | | A cosmetic change which serves to document that sourcepath can in fact accept a path. No test because I can't figure out how to make partest see the srcdirs. Closes #2202, no review.
* Closes #2318 (spurious IllegalAccessException t...Gilles Dubochet2010-07-023-4/+7
| | | | | | Closes #2318 (spurious IllegalAccessException thrown by some structural calls, caused by Java bug 4071957). Review by malayeri.
* Closes #1766 (structural method dispatch broken...Gilles Dubochet2010-07-022-58/+54
| | | | | | Closes #1766 (structural method dispatch broken in class with multiple constructors). Review by prokopec.
* Partest task will go into verbose debug mode wh...Gilles Dubochet2010-07-021-1/+3
| | | | | | Partest task will go into verbose debug mode when ant's debug flag is set.
* Option gets an empty factory like the collections.Paul Phillips2010-07-021-4/+6
|
* Made a null output sink and applied it to the r...Paul Phillips2010-07-023-0/+20
| | | | | | | Made a null output sink and applied it to the recently failing test, which is displaying non-deterministic output by way of the underlying parser. No review.
* Some more improvement on the error messages whe...Paul Phillips2010-07-023-10/+49
| | | | | | | Some more improvement on the error messages when @tailrec fails. Now it gives a sensible message if the recursive target is actually a supertype of this, rather than saying the call is not in tail position. No review.
* Normalized protected type aliases before repl p...Paul Phillips2010-07-021-6/+11
| | | | | | Normalized protected type aliases before repl printing, so we don't see things like x.Self. Closes #3193, no review.
* New starr based on r22464, no review.Paul Phillips2010-07-023-3/+3
|
* Test case for (long ago closed) #2106, no review.Paul Phillips2010-07-022-0/+9
|
* Test cases close #13, #95. No review.Paul Phillips2010-07-022-0/+46
| | | | | (That's right, multiple two digit tickets.)
* Fail more gracefully on > 22 case class paramet...Paul Phillips2010-07-025-9/+26
| | | | | | Fail more gracefully on > 22 case class parameters. Closes #3631, no review.
* Abandoned any pretense of selectivity and put f...Paul Phillips2010-07-012-5/+5
| | | | | | | Abandoned any pretense of selectivity and put forkjoin.jar on every compilation path from locker to strap. Review postponed until the afterlife.
* Took a cue from mharrah that we don't need to b...Paul Phillips2010-07-011-22/+7
| | | | | | | | | | | Took a cue from mharrah that we don't need to build global static data to keep track of something when we know where it's kept. Altered the Enumeration deserialization scheme to use reflection, preserving the singleton property by delivering the MODULE$ singleton. This solves the GC issue and lets us drop synchronization to boot. Also added some graceful failure for malformed Enumerations. All tests look good but a second opinion is in order: closes #2214, review by phaller.
* Since the buildbots won't meet me in the middle...Paul Phillips2010-07-011-35/+21
| | | | | | | | Since the buildbots won't meet me in the middle, am putting the forkjoin.jar everywhere with the hope/expectation we will see a restoral of order. Someone should definitely figure out how it is we developed this non-deterministic dependency. Review by phaller.
* Renaming files and inserting dummies to please ...Paul Phillips2010-07-018-42/+26
| | | | | | | | | | Renaming files and inserting dummies to please ant. Note to committers: whenever there is a source file which does not generate a classfile whose name and path exactly match the name and path of the source file, then ant will recompile the file every time it compiles anything. In this batch there were 7 such files, so any 1-char change meant an 8-file recompile. Someday we'll be rid of ant, but until then... no review.
* Fixed an infinite loop in the xml parser on inv...Paul Phillips2010-07-014-8/+13
| | | | | | Fixed an infinite loop in the xml parser on invalid input. Also found an off by one bug in Source while fixing it. No review.
* Created mutable.SeqLike so as to mix in Cloneab...Paul Phillips2010-07-015-15/+33
| | | | | | | Created mutable.SeqLike so as to mix in Cloneable like mutable.{Set, Map} do. Closes #3590, review by odersky.
* Removing some dead code from SyncVar and cleani...Paul Phillips2010-07-011-25/+10
| | | | | | Removing some dead code from SyncVar and cleaning up a little. Closes #3490, no review.