| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
make normalize slightly more aggressive in loading symbol info, while )
tolerating the righteous cycle (use sym.info.typeParameters instead )
of unsafeParams this is needed to make sure higher-kinded types have )
their type parameters (otherwise we'd get a PolyType with NoSymbol for )
typeParams )
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Recursively transform 'new' arguments in specialized programs. Closes
#3149, no review.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Created directory for code which is most likely dead but we want to keep
around a while in case someone else is using it. It's called src/attic
and now it holds four files. Motivations: such files cloud my attempts
to figure out what code in the compiler is really being used, they
require effort to maintain across changes, and they slow down every
build a fraction. Revew by community.
|
|
|
|
|
|
| |
More progress toward immutable Settings, and various cleanups
encountered along the way. No review.
|
|
|
|
|
|
|
|
|
| |
- new immutable HashMap implementation based on a hash trie. this is the
first iteration, more optimizations will be added later. - updated test
cases to reflect new ordering of elements - made Map.empty and Set.empty
singletons, deprecating classes Map.EmptyMap and Set.EmptySet Review by
extempore, odersky.
|
|
|
|
|
|
| |
Removed unnecessary DebugSetting, folding the small extra functionality
back into ChoiceSetting. No review.
|
|
|
|
|
|
| |
Still working my way through all the classpath manipulations in partest.
No review.
|
|
|
|
|
|
|
|
|
| |
One minute too many trying to figure out where some partest classpath
mutation was disappearing on me, and I snapped and started the process
of creating an immutable Settings. This commit is for the most part
infrastructure to enable its smooth and uneventful entrance. Review by
community.
|
|
|
|
|
|
| |
Modification to the last patch to return None/false rather than throwing
the MatchError. No review.
|
|
|
|
|
|
| |
null, and thrown MatchErrors don't NPE trying to stringify null. No
review.
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix for #3136 by reverting the line in r18184 which caused this and
other regressions. The downside is that the #1697 test case no longer
passes, but protracted shrug because it wasn't entirely fixed anyway.
Review by moors. (Can you triangulate your way to a patch where both
work simultaneously? It's today's bonus challenge!)
|
| |
|
|
|
|
|
|
| |
ScalaRunTime method to perform sameElements as fix for #2867. Review by
odersky.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Removed quotes from quoted tokens in command line parser to soothe
Windows. Review by community.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added -Xmigration option and @migration annotation. At present it will
warn about the following changes from 2.7 to 2.8:
Stack iterator order reversed
mutable.Set.map returns a Set and thus discards duplicates
A case 'x @ Pattern' matches differently than 'Pattern'
Review by odersky.
|
|
|
|
|
|
| |
Making sure the interpreter always uses the designated output stream
rather than unwittingly falling back on predef. No review.
|
|
|
|
|
|
| |
Renamed the linkedFooOfBar methods in Symbol to be internally consistent
and in line with modern nomenclature. No review.
|
|
|
|
|
|
|
|
| |
Added a comment to Symbols after one too many times forgetting what I
was in that file for while I traced which of the linked* functions I
wanted. Review by odersky (only because there's also a renaming proposal
in there for which I solicit your yea or nay.)
|
|
|
|
|
|
|
| |
Removed obsolete SimpleExecutorScheduler, ThreadPoolScheduler,
DefaultThreadPoolScheduler, and SchedulerService. Made ThreadPoolConfig
private. No review necessary.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Obeyed source comment to make some classes private, since the problem
described seems to be gone. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
A few yards short of the goal posts attempt at making our usage of
Throwable subclasses more consistent. This patch eliminates a lot of
ad hoc Exception/Error/etc. creation and various arbitrary choices are
rendered slightly less arbitrary. From now on let's try not to use the
word "Exception" or "Error" in the names of Throwable subclasses unless
they actually derive (and make sense to derive) from Exception or Error.
Review by community.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
test with the string "Manifest" in the source file, you may now do:
./partest --grep Manifest
No review.
|
|
|
|
|
|
| |
Removed the symlinks between scalacheck jars to satisfy windows. Tweaked
partest to accomodate. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
canEquals, and has ClassManifests compare according to erasure but full
manifests also compare type arguments. Preserving symmetry means that
some things you might expect to be equal are not:
val m1 = scala.reflect.ClassManifest.fromClass(classOf[List[String]])
val m2 = manifest[List[String]]
(m1 == m2) // false
However you can always compare the erasures.
(m1.erasure == m2.erasure) // true
Review by dpp.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Whipped ShowPickled until it would print out private[scope] from the
signature, and infrastructure created along the way. Only now at this
late hour do I realize that this work would be a lot better aimed at
creating a fake Universe and then adapting UnPickler.Scan so you can
reuse the real logic. My advice to the next guy: do that instead. No
review.
|
|
|
|
|
| |
trailing spaces in decompiled annotations are trimmed
|
| |
|
|
|
|
|
|
|
|
|
| |
Undeprecated Function.tupled based on
the type inference issues documented at:
http://stackoverflow.com/questions/2354277/function-tupled-and-placehold
er-syntax We should revisit if anon function inference improves. Review
by community.
|
| |
|