slowly driving me mad by being recompiled on every single run.
One file renamed, one moved to the right directory, two given
dummy implementations since they're completely commented out, and
the actors package object changed to apply to scala.actors
rather than _root_.actors.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19292 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
compile scalac with -deprecation and not cause any machines
to catch fire. Most of the remaining warnings are glancing
furtively at Tuple2, waiting for the moment to pounce.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19266 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
tuning HashSet starting sizes and growth rate, with almost
nothing to show for it (but I did determine that "shadowed"
is constructed identically something like 10,000 times, so
there is probably a cache to be had there.)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19265 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
only way to fully test new command line options either involves
rebuilding starr every time or manually editing build.xml between
locker and quick.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19257 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
fails at runtime due to invalid bytecode. This commit turns those
into compile time errors. Includes negative test case.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19247 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
fixes to check files and removed nonapplicable test case
Tuple2 impl, but commented out so that we can bootstrap
whitespace...
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19245 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
is supposed to exercise r19165, except that I discovered that
no script tests have been run since July 2008: r15658 says "remove
script tests for now - they seem to block in certain configurations."
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19237 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
beloved try/catch blocks which swallow all comers. Realized
that two warnings are already one too many to combine under a
single option, and broke them out into individual options.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19215 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
much tail recursion you're missing out on, if only you knew where
to sprinkle the finals and privates. If the option is given it
will report on all methods it could have transformed.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19212 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
added <:< implicit, should bootstrap
selection from squashed commit messages:
commented out stuff so that this can be used to bootstrap and build a new starr
merged/cherry picked refactorings unrelated to #2261
(undoLog, cloneInternal, NoImplicitInfo)
made conforms implicit, identity explicit
replaced the implicit `identity` coercion by `conforms`, which can be used to encode generalised constraints
the introduction of `conforms` revealed a bug in adaptToMember, which was inferring views while already inferring one, which gave rise to diverging implicits. Predef.identity is no longer special as far as the compiler is concerned.
cleaned up isHigherKinded logic in TypeRef, and implemented it in TypeVar along with normalize
added <:< to Predef: use as evidence for encoding generalized constraints
(BTW: extractUndetparams clears undetparams: don't use in debug output -- I learned the hard way...)
added todo about ticket 2066 -- branching from master to explicitkinds for fix
refactoring: moved bounds tracking logic to TypeVar
introduced typeConstructor in Type because we can't use appliedType(tp, List())) to strip a type's type arguments (appliedType is a no-op for empty args) -- don't want to pattern match on type either
removed unused overrides in TypeVar (TODO double check)
making appliedType more robust since it is now used more liberally -- neg/t0226 should no longer fail now
merged in appliedType refactoring and added TypeVar logic to appliedType
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19204 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
added def apply() overload to BuilderFactory so that we can also create collections from scratch generically
(see test test/files/pos/collectGenericCC.scala)
renaming:
- BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To]
bulk type-param reordering using: s/CanBuildFrom\[\s*([^,()\s]*)\s*,(\s+[^\s,()]*)\s*,\s+([^\s,()]*)\s*\]/CanBuildFrom[$3, $1,$2]/
some argument lists got mixed up because they contained 4 comma's...
- builderFactory -> canBuildFrom
removed explicit implicit value in DocDriver that was renamed
renamed collection/generic/BuilderFactory.scala -> collection/generic/CanBuildFrom.scala
tested with clean build using ant strap.done -- everything went well on my machine
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19190 5e8d7ff9-d8ef-0310-90f0-a4852d11357a