| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Fixed potential duplicate error annotation "Error occurred in an
application involving default arguments."
|
| |
|
|
|
|
|
|
| |
Fixed implicits problem in specs; Manifest[Class[_]] can now be
generated. review by dubochet.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 mysteriously more visible
once it was checked in. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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 CommentFactory and
ModelFactory are mixed together. Okayed by Pedro.
|
|
|
|
|
|
|
| |
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 calls to makeNotPrivate
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 reason. In the process
fixed old bug involving tail call transformation. Closes #3275, #2018.
Review by dragos.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 bit of left padding.
Review by dubochet.
|
|
|
|
|
|
| |
Removed trace output after having verified that skolems are correctly
identified now. Now review.
|
|
|
|
|
|
| |
A safety improvement for random path generation, and a small change to
Random for a more general interface. Review by community.
|
| |
|
| |
|
|
|
|
|
| |
attempted fix for the TypeSkolem problem under specialize.
|
| |
|
|
|
|
|
|
| |
[scaladoc] Fixed CSS so that styles from wiki markup are correctly
displayed in comments. No Review.
|
|
|
|
|
|
| |
fixed most of stability, reviewed by iuli, so no review.
continuations.jar is still failing stability, i'll look at that.
|
| |
|
|
|
|
|
|
| |
[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 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, and tooltips. Feel free to
revert. Review by dubochet.
|
|
|
|
|
|
| |
[scaladoc] Members inherited from sourceless files are correctly printed
in documentation. No review.
|
|
|
|
|
|
|
|
|
|
| |
- 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; inherited filter works
as expected with use cases. Review by odersky.
|
|
|
|
|
|
| |
[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 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 AbstractFunctionN instead of
FunctionN. This saves quite some space, since FunctionN methods are not
re-mixed in for each object.
|
| |
|
|
|
|
|
|
| |
[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 space to accommodate
lazy vals and implicit defs.
|
|
|
|
|
| |
[scaladoc] Lazy vals are printed as such, no longer as vars. No review.
|
|
|
|
|
|
| |
fixed LOAD_MODULE for companions of primitive types. fixes .net build.
review by dragos.
|
|
|
|
|
|
| |
Move constructors to beginning of scaladoc html page; show implicit
modifier in main list. Review by dubochet.
|