| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
[scaladoc] The "inherited" filter work correctly for inner classes and
object. Closes #3775. No review.
|
|
|
|
|
| |
[scaladoc] Unsightly hack in Scaladoc to close #4086. Review by odersky.
|
|
|
|
|
| |
(only to make you aware of the commit message in r24263.)
|
|
|
|
|
|
| |
[scaladoc] Fixes the way default values and annotations are output in
Scaladoc. Closes #4167. No review.
|
|
|
|
|
|
|
|
| |
[scaladoc] Changed TreeFactory so that it doesn't consume exceptions.
Required fixes to makeAnnotation and makeTree which were throwing
exceptions as a matter of fact. Also code refactoring around annotations
and trees. Closes #4284. No review.
|
|
|
|
|
| |
Partial revert of r24325; tryToSetFromPropertyValue is used by Eclipse.
|
| |
|
|
|
|
|
|
|
| |
Added daemonized() method to ProcessBuilder so I can do things like
start fsc without the jvm failing to exit. More logging to fsc. scala -e
'5' now works again. Closes #4254, review by harrah.
|
| |
|
|
|
|
|
| |
No review.
|
| |
|
|
|
|
|
|
| |
Closes #4202 and removes empty TreeHashMap (superseded by HashMap
implementation). No review
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default. The -toolcp option now works. -D and -J options are passed
as arguments to the runner program as well as to the underlying JVM,
because they may be needed for such things as fsc talking to a server
compiler. Added a new Settings type for -D and -J options. Deleted some
dead settings code.
There are dummy settings for -toolcp and -nobootcp so they can be seen
in the help output, which needs a big cleanup.
No review.
|
| |
|
|
|
|
|
|
| |
changed test output and comment, because mixed in fields and methods no
longer get a generic signature. Review by extempore.
|
| |
|
|
|
|
|
|
|
|
| |
Fixed a bug where newly introduced type parameters didn't have all the
substitutions done correctly. Fixes #4266.
No review.
|
|
|
|
|
|
| |
Attempt to fix #4214 by avoiding signature generation for mixed in and
bridge methods.
|
| |
|
|
|
|
|
|
| |
Moved delayedInit Application to App; reinstantiated 2.8.1 Application
and deprecated it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
from one AST snapshot to the next, it displays the nodes which had until
so recently been decorated with it.
It's quite the symbol whisperer now, try it.
scalac -Yshow-syms bippy.scala
No review.
|
|
|
|
|
| |
Making parsing more interruptible + better timing info in logs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved unlift to the Function companion object, which might have been
better in the first place. Had to make a minor change to genprod, and
then I couldn't escape that unscathed. Finished the not very complete
undertaking I found there to update the scaladoc. Lots of little changes
to the generated text and code.
I changed genprod to only put a unique stamp on Function0 so we can stop
having a 100 file diff everytime an i is dotted somewhere.
Closes #3825, no review.
|
|
|
|
|
|
|
|
| |
Observed that some historical issues with package objects no longer seem
so issuey. In the interests of keeping the arbitrary limitations to a
minimum, re-enabled case classes in package objects (see #2130, #3437.)
Closes #3437, review by odersky.
|
|
|
|
|
|
| |
a trait so it had a chance of being mixed into another class as directed
in the doc comment in question. Closes #4087, no review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on the frequency with which I hear questions about it and similar,
this error message assumes too much understanding.
scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error:
value MultiMap is not a member of package scala.collection.mutable
Now it says:
scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error:
object MultiMap is not a member of package scala.collection.mutable
Note: trait MultiMap exists, but it has no companion object.
No review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rediscovering that transpose sometimes throws an exception on irregular
lists and sometimes returns an irregular result (depending on whether
the first collection is the longest or not) indicated that this needs a
better resolution than the status quo. Determination: as long as we're
throwing an exception on any invalid input, we should throw an exception
on all invalid input, so that's what it does now. I postpone any attempt
to offer a variation accepting a "hole value". Closes #3597, review by
community.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made the unification algorithm for specialization stricter when checking
if a specialized member symbol conforms to a type application.
In particular, whereas the `strict` unification mode is concerned: -
when both types are typerefs, unification checks whether they have the
same number of type args, then unifies type args - when both types are
method types, unification checks whether they have the same number of
arguments, then unifies argument types and return types
- when both types are poly types, -- || --
- when unifying multiple types, strict mode will ensure there aren't any overlapping mappings.
Let's hope this fixes and closes #4257.
Review by dragos.
|
|
|
|
|
|
|
|
| |
Revert "Added missing string prefixes for names of map and set
collection classes." and related commits.
No review.
|
|
|
|
|
| |
Review by phaller.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
|
| |
Another fix for a broken test case involving new set and map string
reps.
No review.
|
|
|
|
|
| |
Fixing tests depending on map and set string representations. No review.
|
|
|
|
|
|
|
| |
Another docs patch submitted by Davetron, this time for Either.
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
| |
Added missing string prefixes for names of map and set collection
classes.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
solved hyperlinking problems caused by making parsing lazy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix to :javap so repl-defined objects as well as classes will be found.
Even case classes:
scala> case class Bippy(x: Int, y: Int)
defined class Bippy
scala> :javap Bippy
Compiled from "<console>"
public class Bippy extends java.lang.Object implements scala.ScalaObject,scala.Product,scala.Serializable{
...
scala> :javap Bippy$
Compiled from "<console>"
public final class Bippy$ extends scala.runtime.AbstractFunction2 implements scala.ScalaObject,scala.Serializable{
...
No review.
|
| |
|
|
|
|
|
|
|
|
| |
Added new setting -Ygen-javap, which takes a directory as an argument
and generates javap output for every generated classfile. There is still
a lot of noise in a diff: still todo is postprocessing the output to
remove diff-noise-generating numbers and such. No review.
|