| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
more performance improvements; eliminated mk...Type function in Types.
|
|
|
|
|
|
| |
Fixed isClosureClass in inliner and removed it from CopyPropagation (was
dead code). See #2893.
|
|
|
|
|
|
|
|
| |
[scaladoc] Search tool will ignore case for lowercase-only queries. Type
return when search tool is active to immediately search and display the
first result. Contributed by Johannes Rudolph. Also: removed useless
`DocProvider` class. No review, checked by dubochet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Digging into why the repl is so slow, discovered that fsc is once again
never reusing compiler instances (but for a different reason than
#1683.) Small changes break equality and the little troopers are so darn
quiet about it. Steady state, hot fsc repl startup times before this
patch:
0m1.747s 0m1.789s 0m1.842s 0m1.690s
After this patch:
0m1.139s 0m1.148s 0m1.090s 0m1.091s
No review. Could use a test case but I have trouble coaxing partest this
far outside the box.
|
|
|
|
|
|
|
| |
More work consolidating the XML code needlessly duplicated between
the compiler and the library. Having to fix #2354 in two completely
different places was I found very motivating.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Adjectified some parts of speech as discussed on the mailing list. The
methods to call on FunctionN are "curried" and "tupled" with "curry"
deprecated and "tuple" gone. Closes #2907. Review by community.
|
|
|
|
|
|
| |
Don't insert whitespace on multiline strings and xml literals. Closes
#2115. No review.
|
|
|
|
|
|
| |
Brought ShowPickler somewhat more up to date with the current pickler
format.
|
|
|
|
|
|
|
|
|
|
|
| |
on the previous result. For instance:
scala> (1 to 10).iterator
res0: Iterator[Int] = non-empty iterator
scala> .toList.sum
res1: Int = 55
|
|
|
|
|
| |
Review by dragos.
|
|
|
|
|
|
| |
Wrapped a buffered output stream around class file generation. This has
a nontrivial impact on total build time. Closes #2906.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 'PartialFunction' with '=>?'.
|
| |
|
|
|
|
|
|
|
| |
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 regressions with tests.
Review by dubochet.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
[scaladoc] Use cases are marked as such in the documentation (using some
changes in r20488). Review by odersky.
|
| |
|
|
|
|
|
| |
import synthetic locals from previous scopes.
|
|
|
|
|
| |
better fix for see #2421 after feedback from Martin
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes #2755, but leaving open to analyze issue raised by Paul. review by
extempore.
|
| |
|
|
|
|
|
|
|
| |
closes #2421: more complete fix, now also check validity of inferred
type arguments for expressions inferred for implicit values review by
odersky
|
|
|
|
|
|
| |
examples of equality comparisons which are guaranteed to return false
because someone is not comparing what they think they're comparing.
|
| |
|
|
|
|
|
|
| |
When comparing type aliases use info instead of tpe so that the changes
are correctly detected. Fixes #2650. No review.
|
| |
|
|
|
|
|
|
|
| |
- 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 that the build manager no
longer reports false changes, cloneInfo instead instead of symbols. No
review.
|
|
|
|
|
|
|
|
|
|
| |
: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 breaking the build.
|
|
|
|
|
| |
Avoided a crash scenario in the presentation compiler.
|
|
|
|
|
| |
Removed extraneous clause is isStrictlyMoreSpecific
|
| |
|
|
|
|
|
|
|
| |
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 of paths (equality of
files fails where implementing types differ). Review by odersky.
|
|
|
|
|
|
| |
Added warning for failed inlining when the target is @inline annotated.
No review necessary.
|
|
|
|
|
|
|
| |
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 VerifyError, review by rytz
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
no review
|