summaryrefslogtreecommitdiff
path: root/test/files/pos
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* new test files.Martin Odersky2010-07-194-0/+90
|
* 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 #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 #3374.Adriaan Moors2010-07-081-0/+6
| | | | | review by odersky
* closes #3249.Adriaan Moors2010-07-082-0/+16
| | | | | review by dragos
* 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
* Test case closes #261, no review.Paul Phillips2010-07-032-0/+18
|
* Test cases close #13, #95. No review.Paul Phillips2010-07-022-0/+46
| | | | | (That's right, multiple two digit tickets.)
* A crasher in the pattern matcher revealed a fla...Paul Phillips2010-07-011-0/+7
| | | | | | A crasher in the pattern matcher revealed a flaw in how equality comparisons were constructed. Closes #3570, no review.
* Test case for #1974, which was fixed at some po...Paul Phillips2010-07-011-0/+20
| | | | | | | | Test case for #1974, which was fixed at some point even though martin says in the comments it wouldn't be fixed for 2.8. Take that, things which think they won't be fixed which really will be. Closes #1974, no review.
* Tweaked a test to pass under java 7. No review.Paul Phillips2010-07-011-1/+1
|
* Test case closes #3440. No review.Paul Phillips2010-06-301-0/+18
|
* close #2413.Lukas Rytz2010-06-292-0/+30
|
* The inliner now looks harder for method impleme...Paul Phillips2010-06-162-0/+20
| | | | | | | | | The inliner now looks harder for method implementations. In addition to the receiver, it will find those in directly mixed in traits and in superclasses. It still won't find those in traits mixed only into superclasses, as that didn't come quite so easily. Closes #3234 but I'll be opening up another ticket. Review by dragos.
* A wholesale reversion of the pattern matcher to...Paul Phillips2010-06-161-0/+30
| | | | | | | | A wholesale reversion of the pattern matcher to r21939, motivated by the appearance of #3578. Closes #3578, reopens #2800, #3050. Review by moors. (I can't keep saying "no review" when every move I make in here seems to break something.)
* Disables NotNull checking unless -Ynotnull is g...Paul Phillips2010-06-151-0/+46
| | | | | | Disables NotNull checking unless -Ynotnull is given. Closes #3568, review by odersky.
* Test for #3560.Antonio Cunei2010-06-141-0/+2
|
* Made getters treated more like private members ...Paul Phillips2010-06-132-0/+6
| | | | | | Made getters treated more like private members when debating whether to inline. Closes #3420, review by dragos.
* Updated disabled test file.Iulian Dragos2010-06-091-0/+28
| | | | | | compile because the specialized variants of apply were not implemented as well. Fixed by extending runtime.AbstractFunction0 instead.
* Taking another shot at negative constants as an...Paul Phillips2010-06-082-0/+11
| | | | | | | | Taking another shot at negative constants as annotation arguments since r22175 didn't quite get there. I call into the constant folder with the unfolded tree at the last point before it's going to fail the compile anyway. Closes #3521, review by odersky.
* Patch from Jason Zaugg so singleton types aren'...Paul Phillips2010-06-051-0/+55
| | | | | | | Patch from Jason Zaugg so singleton types aren't accidentally deprived of a fourth try at satisfaction. Already reviewed by odersky, so no review.
* Reverts r21973, the patch I characterized as "h...Paul Phillips2010-06-041-0/+4
| | | | | | | Reverts r21973, the patch I characterized as "hacky but no-risk" in my commit message, for causing #3480. Closes #3480. I'd say no review but who can trust a guy who throws around "no risk" with such abandon.
* Closes #3499, double definition with specialized.Iulian Dragos2010-06-031-0/+14
|
* Fixes #3508. No review is necessary.Aleksandar Pokopec2010-06-021-15/+0
|
* Fixes #3496. No review.Aleksandar Pokopec2010-06-011-0/+15
|
* Re-enabled a number of previously disabled tests;Antonio Cunei2010-05-283-0/+111
| | | | | according to my tests, they all currently work.
* Stupid java 5/6 schism got me.Paul Phillips2010-05-261-12/+0
|
* Test closes #2919 which now works.Paul Phillips2010-05-261-0/+12
| | | | | attention in case the ticket was being left open intentionally.)
* Brought the *Proxy classes more up to date.Paul Phillips2010-05-241-0/+13
|
* Added tests for bugs which have been fixed sinc...Paul Phillips2010-05-232-0/+19
| | | | | | Added tests for bugs which have been fixed since beta1. Closes #2691, #3020. No review.
* Added test case for #2409. No review.Paul Phillips2010-05-222-0/+5
|
* Messed up a flags test file, caught by dragos.Paul Phillips2010-05-221-0/+0
|
* Moved the test for #3420 to pending and reopene...Paul Phillips2010-05-202-6/+0
| | | | | | | Moved the test for #3420 to pending and reopened the ticket. The bug only materializes if scalac was itself built with -optimise. (We may need a richer language for describing optimise bugs.) No review.
* Make the inliner be more careful about where it...Paul Phillips2010-05-204-0/+30
| | | | | | Make the inliner be more careful about where it pokes around. Closes #3252, #3430. Review by dragos.
* Test case for #3420, closes #3420.Paul Phillips2010-05-202-0/+6
|
* Closes #3449. no review.Iulian Dragos2010-05-201-0/+3
|
* Closes #3381.Iulian Dragos2010-05-201-0/+7
|
* some more ad-hoc cookingAdriaan Moors2010-05-182-0/+15
| | | | | | closes #3429 review by odersky
* cook raw type when copying down result typeAdriaan Moors2010-05-182-0/+6
| | | | | | closes #3404 review by odersky
* Closes #3417. No review (already done by Martin)Hubert Plociniczak2010-05-181-0/+11
|
* Closes #3433.Iulian Dragos2010-05-131-0/+5
|
* Removed an assertion which was asserting an unt...Paul Phillips2010-05-131-0/+8
| | | | | | Removed an assertion which was asserting an untrue statement thus causing chaos and strife. Closes #3411, no review.
* Overhauled sequence length logic in the pattern...Paul Phillips2010-05-122-0/+19
| | | | | | | | Overhauled sequence length logic in the pattern matcher. Removes unnecessary boxing and a few varieties of wrongness. Closes #3395, #3150, #2958, #2945, #2187. No review.
* Closes #3424, double definition when overriding...Iulian Dragos2010-05-121-0/+9
| | | | | | Closes #3424, double definition when overriding a generic method with specialized types, inherited from a specialized class. no review.
* Closes #t3363. Review by extempore.Martin Odersky2010-05-111-0/+18
|
* Rolled partest back to r21328.Paul Phillips2010-05-062-111/+0
| | | | | | | | changes necessary to plug it back in while preserving everything which has happened since then in tests and such, but we should be the lookout for overreversion. Review by phaller (but as a formality, I don't think it requires direct review.)
* Closes #3387. no review.Iulian Dragos2010-05-041-0/+10
|