summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Closes #3108 plus removed some semicolons.Hubert Plociniczak2010-04-232-21/+21
|
* Fixed potential duplicate error annotation "Err...Martin Odersky2010-04-232-15/+18
| | | | | | Fixed potential duplicate error annotation "Error occurred in an application involving default arguments."
* Fixed typo in error message. No review.Martin Odersky2010-04-231-1/+1
|
* Fixed implicits problem in specs; Manifest[Clas...Martin Odersky2010-04-231-31/+14
| | | | | | Fixed implicits problem in specs; Manifest[Class[_]] can now be generated. review by dubochet.
* Some cleanup I did when looking at #2769.Hubert Plociniczak2010-04-222-27/+21
|
* Added two options to tools/tokens, --sliding an...Paul Phillips2010-04-213-16/+38
| | | | | | | | | | | | | | | | Added two options to tools/tokens, --sliding and --freq. Using both: % tools/tokens --sliding 10 --freq src/compiler/scala/tools/nsc/typechecker | head -5 34 'if' '(' settings '.' debug '.' value ')' log '(' 17 scala '.' tools '.' nsc ; 'package' typechecker ;; 'import' 17 'package' scala '.' tools '.' nsc ; 'package' typechecker ;; 16 '}' 'package' scala '.' tools '.' nsc ; 'package' typechecker 15 ')' '{' 'if' '(' settings '.' debug '.' value ')' No review.
* Fixed a couple bugs in tools/tokens which were ...Paul Phillips2010-04-211-4/+7
| | | | | | Fixed a couple bugs in tools/tokens which were mysteriously more visible once it was checked in. No review.
* Two new command line programs in ~/tools: scmp ...Paul Phillips2010-04-212-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two new command line programs in ~/tools: scmp and tokens. 1) scmp: will need a bit more fleshing out to be super useful, but here is what you can do right now: // This means run the given command line first with the options // given to p1 and then without, and show the diff in output. % tools/scmp --p1 '-no-specialization -nowarn' scalac -Ydebug src/library/scala/Function1.scala Upcoming features will involve seeing diffs of such things as the pickled signatures of generated files and the javap disassembly. 2) tokens: tokenizes all the scala files found under any given paths and prints one token per line. Example: the five most frequently used tokens under scala/util. % tools/tokens src/library/scala/util |sort | uniq -c | sort -r | head -5 598 ')' 598 '(' 347 ; 294 '=' 278 , Good to see those parens are balanced. Example: number of appearances of an identifier called x: % tools/tokens src/library/scala/util | grep ^x$ | wc 137 Way to go, x. Review by community.
* Since pickled data moved into annotations ShowP...Paul Phillips2010-04-2111-56/+139
| | | | | | | | | Since pickled data moved into annotations ShowPickled has been confusedly scratching its head. Made tools/showPickled work again. In the process created a simple interface for creating command line tools for the (majority of) commands which would just like to specify a handful of options. No review.
* [scaladoc] Slight change to design of how Comme...Gilles Dubochet2010-04-212-2/+2
| | | | | | [scaladoc] Slight change to design of how CommentFactory and ModelFactory are mixed together. Okayed by Pedro.
* Changed the way special overrides are implemented.Iulian Dragos2010-04-213-76/+85
| | | | | | | the source tree, it is moved from the generic method to its specialized variant. The owners are changed, and value/type parameter symbols are updated. This should fix most bugs involving call-by-name parameters.
* Fixed retyping of ThisTypes and less aggressive...Iulian Dragos2010-04-212-11/+23
| | | | | Fixed retyping of ThisTypes and less aggressive calls to makeNotPrivate
* Fixed bug in update method visibility which cau...Paul Phillips2010-04-212-33/+46
| | | | | | | Fixed bug in update method visibility which caused x += y not to find x's update method when defined generically. Closes #3278. Already reviewed by odersky.
* fix bootstrap library build. review by oderskyLukas Rytz2010-04-204-10/+42
|
* Missing bit from r21620.Hubert Plociniczak2010-04-191-2/+5
|
* Better fix for #2757. Review by milessabin.Hubert Plociniczak2010-04-192-1/+3
|
* Fix and test case for forwarder duplicate bug.Paul Phillips2010-04-171-2/+2
|
* More polishing up features in partest which wor...Paul Phillips2010-04-161-8/+11
| | | | | | | More polishing up features in partest which worked somewhere along the way but not at the end. This time it is unknown options: now it will complain. Closes #3289, no review.
* Improved @tailrec error messages to specify the...Paul Phillips2010-04-151-73/+57
| | | | | | | Improved @tailrec error messages to specify the reason. In the process fixed old bug involving tail call transformation. Closes #3275, #2018. Review by dragos.
* Removed a bunch of -Y warning options.Paul Phillips2010-04-157-123/+9
| | | | | | | back in the form of a compiler plugin. Also promoted -Yfatal-warnings to -Xfatal-warnings: this is key to writing tests which involve warnings and should be at least semi-supported. Closes #3300, no review.
* A repl corner case. Closes #3298, no review.Paul Phillips2010-04-151-1/+1
|
* Revert "Don't decode symbols in .toString."Iulian Dragos2010-04-141-1/+1
|
* Made the icode reader more resilient to errors.Iulian Dragos2010-04-132-39/+66
| | | | | | | symbol does not cause any crashes, but the method using an unknown symbol will not be used for inlining. Resurrected tests, removed spec-matrix for the moment. No review.
* Don't decode symbols in .toString.Iulian Dragos2010-04-131-1/+1
|
* Fixed deadlocking behavior in actors.Iulian Dragos2010-04-131-3/+5
| | | | | | | | | | Specialization removed a 'private' modifier on Actor.resumeActor. Mixin did not mix this method in actor implementations, believing it was private. At runtime, an AbstractMethodError was thrown, but swallowed by forkjoin (probably), resulting in an apparent deadlock. It would have been much faster to find and fix if the stacktrace was printed, as it is in Java 1.5. No review.
* [scaladoc] Tweak so that left pane has a little...Donna Malayeri2010-04-131-2/+6
| | | | | | [scaladoc] Tweak so that left pane has a little bit of left padding. Review by dubochet.
* Removed trace output after having verified that...Martin Odersky2010-04-131-2/+1
| | | | | | Removed trace output after having verified that skolems are correctly identified now. Now review.
* A safety improvement for random path generation...Paul Phillips2010-04-131-4/+3
| | | | | | A safety improvement for random path generation, and a small change to Random for a more general interface. Review by community.
* [scaladoc] More cosmetic changes.Donna Malayeri2010-04-137-1116/+1216
|
* Fix for specialized fix.Martin Odersky2010-04-131-1/+1
|
* attempted fix for the TypeSkolem problem under ...Martin Odersky2010-04-133-2/+19
| | | | | attempted fix for the TypeSkolem problem under specialize.
* fix for usecase in doccomments.Martin Odersky2010-04-131-4/+2
|
* [scaladoc] Fixed CSS so that styles from wiki m...Gilles Dubochet2010-04-131-0/+22
| | | | | | [scaladoc] Fixed CSS so that styles from wiki markup are correctly displayed in comments. No Review.
* fixed most of stability, reviewed by iuli, so n...Lukas Rytz2010-04-131-1/+1
| | | | | | fixed most of stability, reviewed by iuli, so no review. continuations.jar is still failing stability, i'll look at that.
* Some clean-ups.Hubert Plociniczak2010-04-131-84/+92
|
* [scaladoc] Changed comment code and pre tages t...Donna Malayeri2010-04-131-2/+2
| | | | | | [scaladoc] Changed comment code and pre tages to not have "font-size: small" attribute. Review by dubochet.
* Noticed that Settings post-set hooks were not b...Paul Phillips2010-04-121-6/+8
| | | | | | | | | Noticed that Settings post-set hooks were not being set in the place where they ought to be, so multiple setting settings (such as -optimise) were not flipping all the right bits when set programmatically instead of via command line options. This may be a factor in inlining issues, though by itself it does not appear to solve anything. No review.
* Changed the colors for types, value members, an...Donna Malayeri2010-04-122-10/+10
| | | | | | Changed the colors for types, value members, and tooltips. Feel free to revert. Review by dubochet.
* [scaladoc] Members inherited from sourceless fi...Gilles Dubochet2010-04-121-1/+1
| | | | | | [scaladoc] Members inherited from sourceless files are correctly printed in documentation. No review.
* [scaladoc] Cosmetic changes:Donna Malayeri2010-04-122-130/+160
| | | | | | | | | | - changed link color to underlined and dark purple - increased padding in gray lines of method definitions - lightened gray lines of method definitions - changed dashed and solid lines from black to gray - increased size of top template declaration; changed alignment Review by dubochet.
* [scaladoc] Use case symbols have correct owner;...Gilles Dubochet2010-04-121-1/+3
| | | | | | [scaladoc] Use case symbols have correct owner; inherited filter works as expected with use cases. Review by odersky.
* [scaladoc] Inner objects, which according to th...Gilles Dubochet2010-04-121-2/+2
| | | | | | [scaladoc] Inner objects, which according to the compiler are actually methods, are now printed as objects by Scaladoc. No review.
* Fixed various position issues in specialized me...Iulian Dragos2010-04-121-8/+11
| | | | | | | | Fixed various position issues in specialized members. Removed an instance where the tree transformer was run twice on the same tree, resulting in double definition errors. Fixed re-typing of super calls in constructor arguments for specialized members. No review.
* Companion objects of case classes extend Abstra...Iulian Dragos2010-04-122-5/+8
| | | | | | | Companion objects of case classes extend AbstractFunctionN instead of FunctionN. This saves quite some space, since FunctionN methods are not re-mixed in for each object.
* Don't generate forwarders for specialized methods.Iulian Dragos2010-04-121-1/+1
|
* [scaladoc] Comment summary (first sentence) is ...Gilles Dubochet2010-04-123-58/+91
| | | | | | [scaladoc] Comment summary (first sentence) is extracted by comment parser, which is a lot more robust and correct. No review.
* [scaladoc] Signature kind (def, val) needs more...Gilles Dubochet2010-04-121-4/+4
| | | | | | [scaladoc] Signature kind (def, val) needs more space to accommodate lazy vals and implicit defs.
* [scaladoc] Lazy vals are printed as such, no lo...Gilles Dubochet2010-04-123-10/+15
| | | | | [scaladoc] Lazy vals are printed as such, no longer as vars. No review.
* fixed LOAD_MODULE for companions of primitive t...Lukas Rytz2010-04-121-16/+21
| | | | | | fixed LOAD_MODULE for companions of primitive types. fixes .net build. review by dragos.
* Move constructors to beginning of scaladoc html...Donna Malayeri2010-04-124-13/+23
| | | | | | Move constructors to beginning of scaladoc html page; show implicit modifier in main list. Review by dubochet.