summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* An overhaul of checkSensible.Paul Phillips2010-08-103-62/+160
| | | | | | | | gives fewer insensible warnings about actually sensible things, etc. Large test case with 30 warnings elicited. Closes #282 (again), no review.
* close #7226.Lukas Rytz2010-08-092-0/+10
|
* closes #3582: typedTypeDef needs to run in a ne...Adriaan Moors2010-08-092-0/+17
| | | | | | | | | | | | | | | | | closes #3582: typedTypeDef needs to run in a new typer for TypeDefs with type parameters this was honored when typedTypeDef was called by typed1, but other callers did not this would cause higher-order type parameters to be re-entered in the scope of a method or a class (by the way, should we recycle scopes for higher-order type params? now new scopes are created, symbols entered, and tree's symbols updated) changed some spurious vars to vals review by odersky
* Modified r22702 to avoid tarring overloads with...Paul Phillips2010-08-071-0/+13
| | | | | | Modified r22702 to avoid tarring overloads with the same brush. No review.
* Disallowed super.XX calls to Any methods which ...Paul Phillips2010-08-073-7/+36
| | | | | | | | | | Disallowed super.XX calls to Any methods which are presently either crashing the compiler (isInstanceOf) or leading to runtime failure (== and !=) in addition to one which was being rewritten to a this call but makes more sense disallowed like the others (##). Closes #3736, review by odersky.
* pending test for #3663Lukas Rytz2010-08-062-0/+28
|
* close #2799.Lukas Rytz2010-08-062-0/+2
|
* close #3403.Lukas Rytz2010-08-062-0/+6
|
* fixes names/defaults when using :_* for specify...Lukas Rytz2010-08-052-0/+27
| | | | | | fixes names/defaults when using :_* for specifying repeated parameters. close #3697, no review.
* close #3667.Lukas Rytz2010-08-054-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | scala> def ser(o: AnyRef) = new java.io.ObjectOutputStream(new java.io.ByteArrayOutputStream()).writeObject(o) ser: (o: AnyRef)Unit scala> @serializable class Outer { | case class Inner(x: Int) | } defined class Outer scala> val o = new Outer o: Outer = Outer@34469729 scala> ser(new o.Inner(1)) scala> o.Inner // initialize the Inner$module field of o res1: o.Inner.type = Inner scala> ser(new o.Inner(1)) java.io.NotSerializableException: Outer$Inner$ review by extempore.
* fix the failing test. review by dubochet.Lukas Rytz2010-08-051-1/+1
|
* close #3685. review by moors.Lukas Rytz2010-08-052-1/+74
|
* added @deprecatedName annotation, allowing to d...Lukas Rytz2010-08-037-5/+66
| | | | | | added @deprecatedName annotation, allowing to deprecate parameter names. review by prokopec.
* Parse ordering issue prevented passing properti...Paul Phillips2010-08-032-0/+3
| | | | | | | Parse ordering issue prevented passing properties containing a :. There is a test case included, but note that partest passes it with or without the patch: see ticket #3712. Closes #3495, no review.
* Fixes priority queues and makes them iterables ...Aleksandar Pokopec2010-07-291-346/+337
| | | | | Fixes priority queues and makes them iterables now.
* Fix for last commit.Aleksandar Pokopec2010-07-281-1/+1
|
* Added merge function to HashTrie.merge. No review.Aleksandar Pokopec2010-07-281-0/+36
|
* Minor tweaks. No review.Aleksandar Pokopec2010-07-271-1/+1
|
* Refactored benchmarks.Aleksandar Pokopec2010-07-2619-58/+114
|
* new test files.Martin Odersky2010-07-195-0/+94
|
* Moved the burden of forgivingness for string sl...Paul Phillips2010-07-141-0/+19
| | | | | | Moved the burden of forgivingness for string slices into StringOps where it belongs. Review by odersky.
* close #3648 (again).Lukas Rytz2010-07-134-16/+13
|
* Closes #3653.Adriaan Moors2010-07-122-0/+11
| | | | | | | | | | no review Author: Mark Harrah <dmharrah@gmail.com> Date: Thu Jul 8 10:30:57 2010 -0400 Source: http://github.com/harrah/scala-starrless/commit/0c7759c95b47cebc6d9fa77cefd34ef638e2706e Reviewer: moors
* Fixed buggy test case. Closes #3551. No review.Philipp Haller2010-07-121-3/+9
|
* Added test case for see #3628 in pending.Philipp Haller2010-07-122-0/+14
|
* Added test case for see #3620.Philipp Haller2010-07-121-0/+73
|
* Added test case for see #3636.Philipp Haller2010-07-121-0/+49
|
* Added test case for #3645. Closes #3645.Philipp Haller2010-07-121-0/+6
|
* Closes #3493. Review by extempore.Aleksandar Pokopec2010-07-091-0/+15
|
* closes #3603. no reviewAleksandar Pokopec2010-07-091-0/+18
|
* close #3648.Lukas Rytz2010-07-093-0/+16
|
* closes #3622: refchecks erased types without un...Adriaan Moors2010-07-083-0/+19
| | | | | | closes #3622: refchecks erased types without uncurrying them first review by odersky
* closes #742.Adriaan Moors2010-07-082-0/+13
| | | | | review by extempore
* closes #3507: don't generate manifests where we...Adriaan Moors2010-07-082-0/+19
| | | | | | closes #3507: don't generate manifests where we can't refer to the existentially bound value
* closes #3494.Adriaan Moors2010-07-081-0/+7
| | | | | review by prokopec
* closes #3486.Adriaan Moors2010-07-082-0/+9
| | | | | | | | | 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-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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-082-0/+28
| | | | | | | this broke the invariant that argss is a regular matrix review by odersky
* closes #3374.Adriaan Moors2010-07-083-17/+23
| | | | | review by odersky
* closes #3249.Adriaan Moors2010-07-082-0/+16
| | | | | review by dragos
* closes #3247: syntax error regarding context bo...Adriaan Moors2010-07-081-1/+1
| | | | | | 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-082-0/+24
| | | | | | | | | | 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-081-0/+11
| | | | | | | | | | | | | | 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
* Fixes #3580. Review by extempore.Aleksandar Pokopec2010-07-051-0/+17
|
* Test case closes #261, no review.Paul Phillips2010-07-032-0/+18
|
* When compilation fails because of an unimplemen...Paul Phillips2010-07-032-0/+50
| | | | | | | | 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.
* Closes #1766 (structural method dispatch broken...Gilles Dubochet2010-07-021-0/+16
| | | | | | Closes #1766 (structural method dispatch broken in class with multiple constructors). Review by prokopec.
* Made a null output sink and applied it to the r...Paul Phillips2010-07-022-0/+1
| | | | | | | 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-022-0/+30
| | | | | | | 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.
* Test case for (long ago closed) #2106, no review.Paul Phillips2010-07-022-0/+9
|