summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Don't insert whitespace on multiline strings an...Paul Phillips2010-01-171-2/+7
| | | | | | Don't insert whitespace on multiline strings and xml literals. Closes #2115. No review.
* Brought ShowPickler somewhat more up to date wi...Paul Phillips2010-01-171-3/+35
| | | | | | Brought ShowPickler somewhat more up to date with the current pickler format.
* New repl feature: you can start a line with .Paul Phillips2010-01-162-4/+22
| | | | | | | | | | | on the previous result. For instance: scala> (1 to 10).iterator res0: Iterator[Int] = non-empty iterator scala> .toList.sum res1: Int = 55
* Exposed native Array clone() method.Paul Phillips2010-01-166-28/+39
| | | | | Review by dragos.
* Wrapped a buffered output stream around class f...Paul Phillips2010-01-153-7/+8
| | | | | | Wrapped a buffered output stream around class file generation. This has a nontrivial impact on total build time. Closes #2906.
* Fix for #2365.Paul Phillips2010-01-154-32/+28
| | | | | | | | | | | | | | a soft reference around cached classes so they do not interfere with garbage collection. There is a test case, but it is in pending because I spent longer trying to get it to fail under partest than I did writing the actual patch. If you would like to see the behavior which was corrected, go to test/pending/run/bug2365 and run that script with scalac built before and after this commit. Review by dubochet.
* Reverted over-zealous replacement of 'PartialFu...Antonio Cunei2010-01-153-4/+4
| | | | | Reverted over-zealous replacement of 'PartialFunction' with '=>?'.
* [scaladoc] Companion classes are printed.Gilles Dubochet2010-01-153-0/+14
|
* Fixed issue when searching for companion of cla...Gilles Dubochet2010-01-151-5/+12
| | | | | | | Fixed issue when searching for companion of class using "linkedSym" when value of same name is overloaded (for example companion of the Value class in an Enumeration). No review, already checked by odersky.
* Fixes for various Scaladoc-related positions re...Miles Sabin2010-01-152-11/+27
| | | | | | Fixes for various Scaladoc-related positions regressions with tests. Review by dubochet.
* Fix and test for #2354. Review by community.Paul Phillips2010-01-151-46/+8
|
* Closes #2649. No review.Hubert Plociniczak2010-01-141-1/+1
|
* Fixed #2889. No review necessary.Miles Sabin2010-01-141-1/+1
|
* [scaladoc] Use cases are marked as such in the ...Gilles Dubochet2010-01-142-2/+2
| | | | | | [scaladoc] Use cases are marked as such in the documentation (using some changes in r20488). Review by odersky.
* fix for .net compiler (flatten is skipped).Lukas Rytz2010-01-141-1/+8
|
* Finished up fixing #2773.Paul Phillips2010-01-142-14/+10
| | | | | import synthetic locals from previous scopes.
* better fix for see #2421 after feedback from Ma...Adriaan Moors2010-01-132-51/+59
| | | | | better fix for see #2421 after feedback from Martin
* [scaladoc] Use cases are printed.Gilles Dubochet2010-01-139-135/+182
|
* Closes #2866, #2870.Martin Odersky2010-01-132-13/+36
|
* Fixes #2755, but leaving open to analyze issue ...Martin Odersky2010-01-131-8/+15
| | | | | | Fixes #2755, but leaving open to analyze issue raised by Paul. review by extempore.
* Fix for #2817. Review by mharrah.Paul Phillips2010-01-131-7/+20
|
* closes #2421: more complete fix, now also check...Adriaan Moors2010-01-132-1/+11
| | | | | | | closes #2421: more complete fix, now also check validity of inferred type arguments for expressions inferred for implicit values review by odersky
* A variety of bugfixes discovered by findbugs.Paul Phillips2010-01-134-6/+9
| | | | | | examples of equality comparisons which are guaranteed to return false because someone is not comparing what they think they're comparing.
* more statistics hooks. no review necessary.Martin Odersky2010-01-131-17/+56
|
* When comparing type aliases use info instead of...Hubert Plociniczak2010-01-131-1/+7
| | | | | | When comparing type aliases use info instead of tpe so that the changes are correctly detected. Fixes #2650. No review.
* Closes #2867. review by extempore.Martin Odersky2010-01-121-4/+7
|
* Updated attempt at removing @inline warnings:Iulian Dragos2010-01-123-4/+6
| | | | | | | - fixed a bug in closure elimination causing VerifyErrors - fixed a broken assert in GenICode that fired when -Ydebug was used - added final modifiers
* Compare typeParams correctly for symbols so tha...Hubert Plociniczak2010-01-122-25/+28
| | | | | | | Compare typeParams correctly for symbols so that the build manager no longer reports false changes, cloneInfo instead instead of symbols. No review.
* A few repl features.Paul Phillips2010-01-116-36/+107
| | | | | | | | | | :history <N> shows N lines of history :h? <str> greps the history for str Altered tab-completion to be less verbose on the first tab, but notice when tab has been hit twice without any other input, and then be more verbose. And prettified the repl help text.
* Commented out some (debugging?) code which was ...Paul Phillips2010-01-111-2/+2
| | | | | Commented out some (debugging?) code which was breaking the build.
* Avoided a crash scenario in the presentation co...Martin Odersky2010-01-111-95/+236
| | | | | Avoided a crash scenario in the presentation compiler.
* Removed extraneous clause is isStrictlyMoreSpec...Martin Odersky2010-01-111-3/+4
| | | | | Removed extraneous clause is isStrictlyMoreSpecific
* speed up ClassPath.findClass. review by communityLukas Rytz2010-01-111-16/+16
|
* Fix for an unfortunate bug introduced in r19020...Paul Phillips2010-01-111-1/+3
| | | | | | | Fix for an unfortunate bug introduced in r19020 which was causing a great many unnecessary and unreachable MatchErrors to appear in generated bytecode.
* Weaken the test for co-definition to equality o...Miles Sabin2010-01-101-1/+1
| | | | | | Weaken the test for co-definition to equality of paths (equality of files fails where implementing types differ). Review by odersky.
* Added warning for failed inlining when the targ...Iulian Dragos2010-01-071-10/+17
| | | | | | Added warning for failed inlining when the target is @inline annotated. No review necessary.
* Improvements in checking for references during ...Hubert Plociniczak2010-01-071-10/+33
| | | | | | | Improvements in checking for references during dependency analysis. For example more carefully analysis of abstract type members, typerefs etc. References #2793. review by dragos.
* Fixed #2850 -- while inside finally causes Veri...Iulian Dragos2010-01-071-4/+9
| | | | | Fixed #2850 -- while inside finally causes VerifyError, review by rytz
* scalac portion of fix for #2689.Miles Sabin2010-01-063-1/+43
|
* further speed improvements by eliminating most ...Martin Odersky2010-01-0611-92/+161
| | | | | | | further speed improvements by eliminating most uses of paramTypes. Knocks off about 3% of typer time. Not overwhelming but still worth doing. Review by rytz.
* Fixed issue with operator symbols.Martin Odersky2010-01-061-1/+1
|
* reinstated accidentally deleted commentAdriaan Moors2010-01-061-1/+3
| | | | | no review
* Closes #2657, #2789. Review by dragos.Hubert Plociniczak2010-01-061-5/+9
|
* Closes #2793, #2651, #2650, #2653.Hubert Plociniczak2010-01-063-18/+43
|
* Closes #2848. No review.Martin Odersky2010-01-051-0/+1
|
* further optimizations to implicits.Martin Odersky2010-01-052-88/+32
|
* polished statistics generation.Martin Odersky2010-01-041-37/+34
|
* refined changes to implicits to allow again imp...Martin Odersky2010-01-041-20/+24
| | | | | | refined changes to implicits to allow again implicits in non-static companion objects.
* Added extensive statistics, reduced time of imp...Martin Odersky2010-01-0410-268/+594
| | | | | | Added extensive statistics, reduced time of implicit resolution by 2/3rds, of whole typer by 1/4 to 1/3rd.
* fix parsing of .net types with inner classesLukas Rytz2010-01-041-4/+4
|