summaryrefslogtreecommitdiff
path: root/test/files/neg
Commit message (Collapse)AuthorAgeFilesLines
...
* new testsMartin Odersky2010-03-084-0/+38
|
* Closes #3115. Reviw by rytzMartin Odersky2010-03-082-0/+16
|
* Added -Xmigration option and @migration annotat...Paul Phillips2010-03-053-0/+21
| | | | | | | | | | | | Added -Xmigration option and @migration annotation. At present it will warn about the following changes from 2.7 to 2.8: Stack iterator order reversed mutable.Set.map returns a Set and thus discards duplicates A case 'x @ Pattern' matches differently than 'Pattern' Review by odersky.
* Closes #3118. review by extemporeMartin Odersky2010-03-042-0/+15
|
* Expanded the check from #1392 to enclose #3123 ...Paul Phillips2010-02-272-0/+9
| | | | | | Expanded the check from #1392 to enclose #3123 as well so that "case Int => " doesn't crash. Closes #3123. Review by odersky.
* Special cased an error message for the common s...Paul Phillips2010-02-271-4/+2
| | | | | | Special cased an error message for the common situation of calling AnyRef methods on Any or AnyVal. Review by odersky.
* closes #3082, review by rytzMartin Odersky2010-02-261-2/+2
|
* Tweaking the sealed logic in light of #3097.Paul Phillips2010-02-251-1/+1
| | | | | | | 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.
* Tighter pattern matching hits the street.Paul Phillips2010-02-183-1/+55
| | | | | | | | | | | | | is final and does not conform to the pattern, it will no longer compile. See all the exciting things you can no longer do: "bob".reverse match { case Seq('b', 'o', 'b') => true } // denied! "bob".toArray match { case Seq('b', 'o', 'b') => true } // rejected! final class Dunk def f3(x: Dunk) = x match { case Seq('b', 'o', 'b') => true } // uh-uh! And so forth. Review by odersky.
* Test case for #2148. Closes #2148, no review.Paul Phillips2010-01-192-0/+14
|
* new test. no review.Martin Odersky2010-01-182-0/+15
|
* Reverts r20311 since I'm not seeing what's goin...Paul Phillips2010-01-131-1/+1
| | | | | | Reverts r20311 since I'm not seeing what's going on in #2876 and the optimization can wait.
* new tests. no review.Martin Odersky2010-01-132-0/+16
|
* closes #2421: more complete fix, now also check...Adriaan Moors2010-01-132-0/+21
| | | | | | | closes #2421: more complete fix, now also check validity of inferred type arguments for expressions inferred for implicit values review by odersky
* Moved plugin neg tests to pending. No review.Philipp Haller2010-01-0542-368/+0
|
* rebuilt plugin test jars. no reviewLukas Rytz2010-01-056-6/+6
|
* Added extensive statistics, reduced time of imp...Martin Odersky2010-01-041-5/+1
| | | | | | Added extensive statistics, reduced time of implicit resolution by 2/3rds, of whole typer by 1/4 to 1/3rd.
* Created team of private[collection] abstract cl...Paul Phillips2009-12-231-1/+1
| | | | | | | | | | | | Created team of private[collection] abstract classes and traits in scala.collection.views. Factored boilerplate and base Transformed traits out of *ViewLike classes. Executive summary and motivation: 4812029 Dec 23 09:47 scala-library.jar // before 4604150 Dec 23 09:24 scala-library.jar // after Direct size savings of 4.5%. Review by odersky.
* fix the build. no review.Lukas Rytz2009-12-221-1/+1
|
* Closed #2801.Martin Odersky2009-12-182-0/+9
|
* added test case for #2775 and commented the han...Martin Odersky2009-12-182-0/+5
| | | | | | added test case for #2775 and commented the handling code in Implicits better. Gilles already had a look so noreview.
* Closed #2779. review by community.Martin Odersky2009-12-182-0/+29
|
* Updated copyright notices to 2010Antonio Cunei2009-12-072-2/+2
|
* (Temporarily) closes #2139Antonio Cunei2009-11-302-0/+21
|
* closed #2624: instantiate type params after eta...Adriaan Moors2009-11-252-16/+16
| | | | | | | | | closed #2624: instantiate type params after eta expansion of polymorphic method does not blow the stack on pos/t0674 (previous private fix did typed(tree); instantiate(tree) instead of instantiate(typed(tree))) fixed check file for neg/bug608 -- got better error message
* Closed #1226. Added new test cases.Martin Odersky2009-11-232-0/+70
|
* Closed #2642Martin Odersky2009-11-202-5/+5
|
* closes #1422Hubert Plociniczak2009-11-202-0/+5
|
* Finally completed the incredibly tedious task o...Paul Phillips2009-11-1814-26/+26
| | | | | | Finally completed the incredibly tedious task of removing the lower case primitive aliases from Predef. Had to rebuild msil.jar along the way.
* Fixes #1477 by requiring that abstract types wi...Martin Odersky2009-11-136-0/+51
| | | | | | Fixes #1477 by requiring that abstract types with non-volatile upper bounds cannot be overridden by volatile types.
* updated plugin-multiple-rafter plugins.jarAntonio Cunei2009-11-131-1/+1
|
* fix #2488.Lukas Rytz2009-11-122-27/+23
|
* Fixed #2504Martin Odersky2009-11-092-0/+34
| | | | | Fixed #2517
* Updates check file for bug 2144 which output wa...Gilles Dubochet2009-11-081-2/+2
| | | | | Updates check file for bug 2144 which output was modified by r19442.
* Tighter type checking rules for structural type...Gilles Dubochet2009-11-082-39/+60
| | | | | | Tighter type checking rules for structural types that fix issues #967, #1004, #1388, #1494, and #1906.
* Proposed fix for #2144 plus test case.Paul Phillips2009-11-042-0/+7
|
* Fix for #1909Hubert Plociniczak2009-10-284-16/+5
|
* Fixed #2494, plus some reorganization of swing ...Martin Odersky2009-10-272-0/+5
| | | | | Fixed #2494, plus some reorganization of swing imports
* Reverting unwanted parts of last commit.Philipp Haller2009-10-266-6/+6
|
* Second half of fix and tests for #1518.Philipp Haller2009-10-266-6/+6
|
* new classpaths.Lukas Rytz2009-10-265-5/+5
|
* The last patch to work around #1909 caught one ...Paul Phillips2009-10-224-4/+16
| | | | | | The last patch to work around #1909 caught one brand of lifts but not another. Better now and another test case.
* Tickets #1909 and #2508 involve code which comp...Paul Phillips2009-10-222-0/+10
| | | | | | | Tickets #1909 and #2508 involve code which compiles but then fails at runtime due to invalid bytecode. This commit turns those into compile time errors. Includes negative test case.
* the essence of tcpoly inference + test casesAdriaan Moors2009-10-224-3/+19
| | | | | | fixes to check files and removed nonapplicable test case Tuple2 impl, but commented out so that we can bootstrap whitespace...
* refactoring of TypeVar to set the stage for tcp...Adriaan Moors2009-10-211-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | refactoring of TypeVar to set the stage for tcpoly inference (also touched UndoLog, isHigherKinded logic in TypeRef) added <:< implicit, should bootstrap selection from squashed commit messages: commented out stuff so that this can be used to bootstrap and build a new starr merged/cherry picked refactorings unrelated to #2261 (undoLog, cloneInternal, NoImplicitInfo) made conforms implicit, identity explicit replaced the implicit `identity` coercion by `conforms`, which can be used to encode generalised constraints the introduction of `conforms` revealed a bug in adaptToMember, which was inferring views while already inferring one, which gave rise to diverging implicits. Predef.identity is no longer special as far as the compiler is concerned. cleaned up isHigherKinded logic in TypeRef, and implemented it in TypeVar along with normalize added <:< to Predef: use as evidence for encoding generalized constraints (BTW: extractUndetparams clears undetparams: don't use in debug output -- I learned the hard way...) added todo about ticket 2066 -- branching from master to explicitkinds for fix refactoring: moved bounds tracking logic to TypeVar introduced typeConstructor in Type because we can't use appliedType(tp, List())) to strip a type's type arguments (appliedType is a no-op for empty args) -- don't want to pattern match on type either removed unused overrides in TypeVar (TODO double check) making appliedType more robust since it is now used more liberally -- neg/t0226 should no longer fail now merged in appliedType refactoring and added TypeVar logic to appliedType
* fixed failing testcases due to previous commit ...Adriaan Moors2009-10-211-1/+1
| | | | | | fixed failing testcases due to previous commit (renaming of BuilderFactory)
* Updated remaining test case to reflect the slig...Paul Phillips2009-10-204-22/+26
| | | | | | Updated remaining test case to reflect the slightly differing semantics of the Ordering fix.
* Fixes for 66.67% of the tests failing from the ...Paul Phillips2009-10-202-4/+4
| | | | | | Fixes for 66.67% of the tests failing from the Ordering commit. Other third is going to take a closer look.
* Fixing failing test from exhaustiveness patch.Paul Phillips2009-10-181-2/+2
|
* Fix and test cases for ticket #443.Paul Phillips2009-10-172-5/+32
| | | | | | | flags on AnyVal from FINAL|SEALED to ABSTRACT|SEALED. This appears correct and without ill effect, but if anyone spots new anyval oddness you know where to look.