summaryrefslogtreecommitdiff
path: root/test/files/pos
Commit message (Collapse)AuthorAgeFilesLines
* closes #3152: refactored adjustTypeArgs and met...Adriaan Moors2010-03-101-0/+20
| | | | | | | | | | | | | | closes #3152: refactored adjustTypeArgs and methTypeArgs so that tparams are correctly split into ones that were inferred successfully, and that thus have a corresponding type argument, and those that weren't determined I didn't investigate the exact cause of the final error message in the bug report, but Jason Zaugg's observations seems correct and I never liked that uninstantiated buffer in the first place. review by odersky
* closes #2994Adriaan Moors2010-03-082-0/+34
| | | | | | | | | make normalize slightly more aggressive in loading symbol info, while ) tolerating the righteous cycle (use sym.info.typeParameters instead ) of unsafeParams this is needed to make sure higher-kinded types have ) their type parameters (otherwise we'd get a PolyType with NoSymbol for ) typeParams )
* new testsMartin Odersky2010-03-081-0/+5
|
* Fix for #3136 by reverting the line in r18184 w...Paul Phillips2010-03-051-0/+19
| | | | | | | | | Fix for #3136 by reverting the line in r18184 which caused this and other regressions. The downside is that the #1697 test case no longer passes, but protracted shrug because it wasn't entirely fixed anyway. Review by moors. (Can you triangulate your way to a patch where both work simultaneously? It's today's bonus challenge!)
* Mixing test case. No review.Martin Odersky2010-03-051-0/+8
|
* Closes #3076. Review by community.Martin Odersky2010-03-012-0/+6
|
* Fixed specialized pattern matches.Iulian Dragos2010-02-281-1/+1
| | | | | specialized implementations.
* close #3071.Lukas Rytz2010-02-261-0/+7
|
* closes #2741 closes #3079 no reviewAdriaan Moors2010-02-263-0/+35
| | | | | worksforme
* closes #2421 -- now also deals with chained imp...Adriaan Moors2010-02-261-0/+17
| | | | | | closes #2421 -- now also deals with chained implicits no review
* closes #2956Adriaan Moors2010-02-262-0/+13
| | | | | | | 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 tick...Adriaan Moors2010-02-261-0/+9
| | | | | | | | | | 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
* Tweaking the sealed logic in light of #3097.Paul Phillips2010-02-252-0/+32
| | | | | | | 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.
* Some deprecation patrol and minor cleanups.Paul Phillips2010-02-221-1/+1
|
* Tighter pattern matching hits the street.Paul Phillips2010-02-181-1/+1
| | | | | | | | | | | | | 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.
* The non-intrusive bits of my hopefully pending ...Paul Phillips2010-02-111-5/+0
| | | | | | | | | | | | The non-intrusive bits of my hopefully pending "use the static type of the scrutinee to rule out some type/extractor patterns" patch. Includes a cleanup of the (still inadequate) type-parameter-ignoring match test which had been interfering with martin's digestion. Also: implicit search is disabled when typing a pattern, because the matcher never invokes implicits to satisfy a pattern. At worst maybe we'll get a performance bump. No review.
* close #2984. review by community.Lukas Rytz2010-02-101-0/+5
|
* Fixed partially specialized classes.Iulian Dragos2010-02-092-0/+6
|
* suppresses generation of manifests for abstract...Martin Odersky2010-02-012-3/+5
| | | | | suppresses generation of manifests for abstract type members.
* Moved some test cases from pending to files sin...Paul Phillips2010-01-285-0/+63
| | | | | | | | Moved some test cases from pending to files since the bugs they were watching for seem to be fixed. Moved some other test cases from pending to disabled because they deceptively claim to pass while investigation reveals the ticket needs to remain open. Closes #1996, #2660.
* One of those "$.05 for the bolt, $50,000 for kn...Paul Phillips2010-01-285-0/+102
| | | | | | | | | One of those "$.05 for the bolt, $50,000 for knowing where to put it" commits. Closes #425, #816, #2310, #2691. All credit for this patch goes to me for having the genius to know when new eyes were needed (although if you're feeling generous some could also go to walter korman for the actual debugging and code writing part.)
* now correctly fix #2868. no reviewLukas Rytz2010-01-274-0/+21
|
* reverting r20688 for now, no reviewLukas Rytz2010-01-274-21/+0
|
* close #2868.Lukas Rytz2010-01-274-0/+21
|
* Moved test case for just-reverted patch to pend...Paul Phillips2010-01-211-1/+0
| | | | | Moved test case for just-reverted patch to pending. No review.
* Test case closes #1737. Review by community.Paul Phillips2010-01-183-0/+8
|
* new tests. no review.Martin Odersky2010-01-131-0/+1
|
* closes #2421: more complete fix, now also check...Adriaan Moors2010-01-131-0/+19
| | | | | | | closes #2421: more complete fix, now also check validity of inferred type arguments for expressions inferred for implicit values review by odersky
* Fixed #2810.Aleksandar Pokopec2010-01-111-0/+8
| | | | | no review
* new testcase no review necessary.Martin Odersky2009-12-231-0/+16
|
* close #2809.Lukas Rytz2009-12-221-0/+20
|
* Fixed lift 2.8 beta RC4 build problem.Martin Odersky2009-12-211-0/+23
|
* Closed #2801.Martin Odersky2009-12-181-1/+1
|
* Closed #1492. review by extemporeMartin Odersky2009-12-181-0/+11
|
* Closed #2795. review by dubochet.Martin Odersky2009-12-171-0/+16
|
* Added test for #2794Hubert Plociniczak2009-12-111-0/+9
|
* see #2708Hubert Plociniczak2009-12-081-0/+1
|
* new doc comment generation, including some new ...Martin Odersky2009-12-071-0/+7
| | | | | | new doc comment generation, including some new style doc comments in collection classes.
* Updated copyright notices to 2010Antonio Cunei2009-12-072-2/+2
|
* Closed #2726 and added test for #2464 (refs #2464)Iulian Dragos2009-11-305-0/+24
|
* quick fix for #2673: relaxed zipped on Tuple2/T...Adriaan Moors2009-11-251-0/+4
| | | | | | quick fix for #2673: relaxed zipped on Tuple2/Tuple3 (back to using A => B for constraint instead of A <%< B)
* closed #2624: instantiate type params after eta...Adriaan Moors2009-11-251-0/+4
| | | | | | | | | 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 #2664Martin Odersky2009-11-242-0/+19
|
* Closed #2629 #2639 #2669Martin Odersky2009-11-242-0/+44
|
* close #2665 and close #2667: use weak conforman...Adriaan Moors2009-11-242-0/+9
| | | | | | | | | | | | close #2665 and close #2667: use weak conformance in polymorphic case of isApplicable reviewed by: odersky exprTypeArgs now takes a comparison function: isWeaklyCompatible is ) passed in isApplicable's typesCompatible (to mimic what happens in the ) monomorphic case Martin: please review as this is different from my ) original proposal (that one broke type inference, this one passes all ) tests and does not slow down quick.comp )
* Closed #1226. Added new test cases.Martin Odersky2009-11-233-0/+18
|
* Moved failing test due to fix of #2635 to pending.Martin Odersky2009-11-221-21/+0
|
* Closed #2635Martin Odersky2009-11-221-0/+16
|
* new testMartin Odersky2009-11-203-0/+30
|
* Simplifiations in collections libraries, enable...Martin Odersky2009-11-201-1/+1
| | | | | | Simplifiations in collections libraries, enabled by introduction of Self type in TraversableLike.