summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Closed #3432.Iulian Dragos2010-05-201-0/+4
|
* Closes #3304. Review by extempore.Martin Odersky2010-05-191-2/+9
|
* tentative solution of typeParams problem discov...Martin Odersky2010-05-191-1/+14
| | | | | tentative solution of typeParams problem discovered by Iulian.
* Hacky but no-risk fix for #3189, which was caus...Paul Phillips2010-05-191-1/+3
| | | | | | | Hacky but no-risk fix for #3189, which was caused by the ghost of regular expression patterns rising from the grave to haunt the parser. No review.
* some more ad-hoc cookingAdriaan Moors2010-05-181-0/+1
| | | | | | closes #3429 review by odersky
* cook raw type when copying down result typeAdriaan Moors2010-05-181-0/+1
| | | | | | closes #3404 review by odersky
* Changed strategy to allow specialization on typ...Iulian Dragos2010-05-181-6/+14
| | | | | | Changed strategy to allow specialization on type params at @specialized positions. no review.
* Commented out unnecessarily verbose debug info.Iulian Dragos2010-05-181-8/+8
|
* Closes #3417. No review (already done by Martin)Hubert Plociniczak2010-05-183-5/+4
|
* [scaladoc] Closes #3428 (HTML markup supported ...Gilles Dubochet2010-05-154-73/+146
| | | | | | | [scaladoc] Closes #3428 (HTML markup supported in Scaladoc). Improves wiki-syntax parsing of lists. Improves stylesheet for headings and code blocks in comments. Review by malayeri.
* Swapped the order of the arguments to returning...Paul Phillips2010-05-153-8/+8
| | | | | | | | | | | Swapped the order of the arguments to returning to make it consistent with the way I've been using it for a long time. No review, how about a question for nobody in particular instead: can we put this in the library somewhere so I can stop looking around for it everywhere I go? It's really handy. def returning[T](x: T)(f: T => Unit): T = { f(x) ; x }
* Starting to look like the pattern matcher and I...Paul Phillips2010-05-143-50/+43
| | | | | | | Starting to look like the pattern matcher and I can meet in the middle. More distributing my acquired bottom-up knowledge among the current code. No review.
* Fixed a missed opportunity for code rewriting i...Iulian Dragos2010-05-141-16/+11
| | | | | | | | | | | Fixed a missed opportunity for code rewriting in specialize: a method that was specialized both on enclosing class types and its own was routed to the generic one. For instance, a map[@specialized B] would exhibit this bug. Restricted warnings to non-synthetic methods, removing warnings for Tuple default argument methods. No review.
* Took advantage of my new wealth of bottom-up pa...Paul Phillips2010-05-141-65/+38
| | | | | | Took advantage of my new wealth of bottom-up pattern matching knowledge to simplify MixTypes a bunch. No review.
* Realized that somehow the synthetic flag on pat...Paul Phillips2010-05-131-2/+2
| | | | | | | Realized that somehow the synthetic flag on pattern matcher temp vars was lost somewhere, and classfile debugging info was being generated for every one of them. Fixed. No review.
* Closes #3433.Iulian Dragos2010-05-131-1/+9
|
* Closes #3434.Iulian Dragos2010-05-131-44/+55
|
* Should fix the interpreter bug I just introduced.Paul Phillips2010-05-131-1/+1
| | | | | | | crashing-under-optimise test into pending since that looks like a genuine bug - I'll open it a ticket. No review.
* Removed an assertion which was asserting an unt...Paul Phillips2010-05-131-17/+6
| | | | | | Removed an assertion which was asserting an untrue statement thus causing chaos and strife. Closes #3411, no review.
* Fixed a long standing issue with interpreter co...Paul Phillips2010-05-121-5/+5
| | | | | | | | Fixed a long standing issue with interpreter commands containing more than a single statement. It was the classic "reversing a list and then flattening it is not the same as flattening and then reversing it." Closes #3116, no review.
* Notice and fail when a file given with -i is in...Paul Phillips2010-05-123-57/+66
| | | | | | | Notice and fail when a file given with -i is incomplete (which under other conditions in the repl is quite different from not compiling, thus the bug.) Closes #3011, no review.
* Overhauled sequence length logic in the pattern...Paul Phillips2010-05-123-87/+89
| | | | | | | | 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-10/+13
| | | | | | Closes #3424, double definition when overriding a generic method with specialized types, inherited from a specialized class. no review.
* [scaladoc] Closes #3351 (white space before fir...Gilles Dubochet2010-05-122-4/+5
| | | | | | [scaladoc] Closes #3351 (white space before first period in comment). No review.
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-12188-188/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* Fix from Mirko Stocker and unit test for #3416.Miles Sabin2010-05-111-3/+9
|
* Closes #t3363. Review by extempore.Martin Odersky2010-05-111-5/+6
|
* close #3415.Lukas Rytz2010-05-101-1/+1
|
* Closed #3413. No review.Iulian Dragos2010-05-101-1/+2
|
* Fixed -Xcheckinit build.no review.Iulian Dragos2010-05-101-1/+1
|
* Remove the sourcepath prefix from the logs and ...Hubert Plociniczak2010-05-071-5/+2
| | | | | | | | Remove the sourcepath prefix from the logs and only then do dos2unix paths changing (otherwise #3054 fails). It is a bit ugly but it is only done for buildmanager (paul was doing it anyway in his reverted partes). That should really fix the windows build. No review.
* Rolled partest back to r21328.Paul Phillips2010-05-061-0/+145
| | | | | | | | 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.)
* Removed some logging and prune CollectMethodBod...Iulian Dragos2010-05-052-52/+28
| | | | | | Removed some logging and prune CollectMethodBodies to not traverse more than necessary. No review.
* Tightened what gets specialized: only when the ...Iulian Dragos2010-05-051-20/+20
| | | | | | | | Tightened what gets specialized: only when the type parameter appears at top level, or as a type argument to a Java array. For example T, Array[T] cause specialization, but List[T] does not. Resurrected spec-matrix, forgotten among the disabled tests. No review.
* revert the revert of r21791 (fix constructor pa...Lukas Rytz2010-05-051-6/+10
| | | | | | revert the revert of r21791 (fix constructor parameter annotations). close #3390. together with a new starr it builds. no review.
* Fixing the conflict between the two private-rel...Iulian Dragos2010-05-041-6/+5
| | | | | | Fixing the conflict between the two private-related bugs, fixing the build. no review.
* Fixed broken commit. no review.Iulian Dragos2010-05-041-0/+3
|
* Closes #3387. no review.Iulian Dragos2010-05-041-1/+1
|
* revert commit that probably broke the build due...Adriaan Moors2010-05-042-14/+16
| | | | | | | revert commit that probably broke the build due to a bug in closure elimination revert commit that reverted the commit that probably didn't break the build
* Fixed #3274. No review.Ingo Maier2010-05-041-1/+3
|
* close #3384.Lukas Rytz2010-05-043-66/+60
|
* Revert r21790: "closes #3373, #3177: validity c...Adriaan Moors2010-05-041-10/+4
| | | | | | | | | | | | Revert r21790: "closes #3373, #3177: validity check of an implicit " value should consider the value as well as its accessor Revert r21792: " "sorry, last-minute edit broke build: re-added parens " will investigate how it broke and why my local pre-commit tests did not catch the failure... no review
* sorry, last-minute edit broke build: re-added p...Adriaan Moors2010-05-041-2/+2
| | | | | sorry, last-minute edit broke build: re-added parens
* fix and test where constructor parameter annota...Lukas Rytz2010-05-041-6/+10
| | | | | fix and test where constructor parameter annotations end up. no review
* closes #3373, #3177: validity check of an impli...Adriaan Moors2010-05-041-4/+10
| | | | | | closes #3373, #3177: validity check of an implicit value should consider the value as well as its accessor review by odersky
* Fixed abstract overrides of specialized methods.Iulian Dragos2010-05-041-1/+5
|
* Closes #3378. No review.Iulian Dragos2010-05-041-2/+2
|
* Removed 4-year old println when getModuleOrClas...Iulian Dragos2010-05-041-1/+1
| | | | | | | | | | Removed 4-year old println when getModuleOrClass fails. It polluted debug output when -Ydebug was present because now every (successful) compiler run hits a few MissingRequirementErrors, quietly swallowed by getModule2/getClass2. The errors are normal during the transition to 'scala.collection.immutable.List' and 'scala.Seq/Sequence', while definitions are built. No review.
* Fixed private member access, closes #3380.Iulian Dragos2010-05-021-3/+6
|
* Closes #3382. no review.Iulian Dragos2010-05-021-6/+4
|