summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1275.scala
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 22508-22520,22523,22545,22710,...Antonio Cunei2010-09-011-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 22508-22520,22523,22545,22710,22726-22727,22754-22755,22762,22796,22804- 22805 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r22508 | moors | 2010-07-08 17:58:41 +0200 (Thu, 08 Jul 2010) | 7 lines closes #2331: the pre-transform in Erasure did not correctly recurse in the case of a TypeApply. It simply returned the function, which might very well have been, say, a Select node, which had to be erased in case the qualifier's type is a refinement. (sorry about the whitespace changes) review by odersky ........ r22509 | moors | 2010-07-08 17:58:47 +0200 (Thu, 08 Jul 2010) | 7 lines closes #2416. this is a big one... typedAppliedTypeTree performed type application (beta-reduction) without checking whether that application was well-kinded this patch introduces a new subclass of TypeTree: TypeTreeWithDeferredRefCheck, which tracks the type args and type params of a type application when it was beta-reduced during typing without checking that the application was well-kinded -- that check must wait until refchecks, but was never performed since the application had been beta-reduced away caveat discovered while working on the fix: adapt turned all trees for which _.isType holds into TypeTree's review by odersky ........ r22510 | moors | 2010-07-08 17:58:52 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3247: syntax error regarding context bounds generalized to include view bounds as we cannot easily be more specific no review ........ r22511 | moors | 2010-07-08 17:58:56 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3249. exclude method type parameters from java generic signature of a class review by dragos ........ r22512 | moors | 2010-07-08 17:59:00 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3374. checkKindBoundsHK did not instantiate hk params far enough. see also neg/bug1275 review by odersky ........ r22513 | moors | 2010-07-08 17:59:05 +0200 (Thu, 08 Jul 2010) | 5 lines closes #3399. mergePrefixAndArgs expects types that have equal type symbols (modulo normalization) but did not normalize these types before retrieving their typeArgs this broke the invariant that argss is a regular matrix review by odersky ........ r22514 | moors | 2010-07-08 17:59:10 +0200 (Thu, 08 Jul 2010) | 15 lines closes #3477. type arguments that were inferred to be Nothing should be included in checkBounds. wonder why they weren't in the first place note that all type parameters must be reported in error messages about failing type inference, but only type parameters that were inferred successfully should be substituted the idea of mapping type parameter symbols to the corresponding type ref in order to make substitution the identity does not seem to work, leading to errors like: src/library/scala/collection/immutable/SortedMap.scala:38: error: type mismatch; found : scala.collection.immutable.SortedMap[A,B(in method empty)] required: scala.collection.immutable.SortedMap[A,B(in trait SortedMap)] override def empty: SortedMap[A, B] = SortedMap.empty ^ (I guess that's why they were retracted before, but that wasn't done consistently, leading to #3152 -- my first attempt at fixing the latter lead to this bug... I've assigned #3152 to you Martin, as I can't decide how to fix it.) review by odersky ........ r22515 | moors | 2010-07-08 17:59:15 +0200 (Thu, 08 Jul 2010) | 5 lines closes #3486. members of implclasses are clones of the original trait members, but cloning discards a symbol's typehistory so that javaSig could not look at the symbol's type before erasure fixed by having mixin do the cloning at the beginning of erasure and then updating the symbol's info to transform it to be valid in current phase review by odersky ........ r22516 | moors | 2010-07-08 17:59:19 +0200 (Thu, 08 Jul 2010) | 3 lines closes #3494. don't let type argument for inserted wrapRefArray be inferred (as the expected element type of the array could be a singleton type, but that won't be inferred) review by prokopec ........ r22517 | moors | 2010-07-08 17:59:23 +0200 (Thu, 08 Jul 2010) | 1 line closes #3507: don't generate manifests where we can't refer to the existentially bound value ........ r22518 | moors | 2010-07-08 17:59:27 +0200 (Thu, 08 Jul 2010) | 3 lines closes #742. be more resilient to evil, ill-kinded type applications, so we don't crash (subst assumes from.length == to.length), and get to actually telling off the user for writing those nasty, nasty types review by extempore ........ r22519 | moors | 2010-07-08 17:59:32 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3622: refchecks erased types without uncurrying them first review by odersky ........ r22520 | moors | 2010-07-08 17:59:36 +0200 (Thu, 08 Jul 2010) | 1 line made typechecker logging methods final so they can actually be inlined ........ r22523 | moors | 2010-07-09 02:24:02 +0200 (Fri, 09 Jul 2010) | 3 lines cleaned up the mess that resulted from cobbling together fixes for see #3477 and see #3152 adjustTypeArgs and methTypeArgs now return a LinkedHashMap[Symbol, Option[Type]] TODO: check that type inference is still just as lightning fast as before ........ r22545 | moors | 2010-07-12 19:03:03 +0200 (Mon, 12 Jul 2010) | 7 lines Closes #3653. In uncurry phase, remove IMPLICIT flag from implicit parameter list. no review Author: Mark Harrah <dmharrah@gmail.com> Date: Thu Jul 8 10:30:57 2010 -0400 Source: http://github.com/harrah/scala-starrless/commit/0c7759c95b47cebc6d9fa77cefd34ef638e2706e Reviewer: moors ........ r22710 | moors | 2010-08-09 13:51:37 +0200 (Mon, 09 Aug 2010) | 10 lines closes #3582: typedTypeDef needs to run in a new typer for TypeDefs with type parameters this was honored when typedTypeDef was called by typed1, but other callers did not this would cause higher-order type parameters to be re-entered in the scope of a method or a class (by the way, should we recycle scopes for higher-order type params? now new scopes are created, symbols entered, and tree's symbols updated) changed some spurious vars to vals review by odersky ........ r22726 | moors | 2010-08-10 23:06:00 +0200 (Tue, 10 Aug 2010) | 5 lines closes #3676: cycle detection logic in BaseTypeSeq's should not overwrite elements in the BTS for cycle detection as these markers may be witnessed by callbacks in mergePrefixAndArgs now using a mutable bitset to keep track of which computations are pending -- benchmarked for speed, memory consumption not checked review by odersky ........ r22727 | moors | 2010-08-10 23:12:13 +0200 (Tue, 10 Aug 2010) | 5 lines different approach to manifests of type parameters: before, ambiguity was prevented by leaving type inference failures (Nothing was inferred) in the expression that needs an implicit manifest -- we now put these back in undetparams (maybe they will be inferred) and when we need to produce a manifest for an undetermined parameter (it ended up not being inferred), we assume it will get instantiated to Nothing (but for now don't actually reflect that in the SearchResult, as instantiate should take care of that anyway) see test file for use case that works with this new scheme, but did not work before: the eager instantiation of type params to Nothing before implicit search even got started would indeed prevent ambiguity -- unfortunately it also ruled out valid code like this (where the type parameter is inferred successfully by the time the manifest is needed) review by odersky ........ r22754 | moors | 2010-08-13 18:21:40 +0200 (Fri, 13 Aug 2010) | 10 lines closes #3419: test files omit check that wouldn't work with separate compilation, not needed anymore because compiler has become more robust the actual fix was committed as part of r22512, see #3374 also see #3512 no review ........ r22755 | moors | 2010-08-13 18:21:44 +0200 (Fri, 13 Aug 2010) | 8 lines closes #3663. disregard package nesting for access check of java syms namers wasn't setting privateWithin on java-defined variables (btw, ) shouldn't clone carry over privateWithin? better treatment of linked ) class access boundary (only check for access within linked class if ) it actually exists ) would have liked more control for the test case: only javac should compile the java file, then scalac should compile the scala file and fail review by odersky ........ r22762 | moors | 2010-08-14 10:19:56 +0200 (Sat, 14 Aug 2010) | 5 lines closes #3691. moved kind conformance checks to types because it needs to be checked as part of specializesSym. TODO: clean this up, introduce datatypes to denote kinds, split checkKindBounds into kind inference and subkind checking review by odersky ........ r22796 | moors | 2010-08-19 14:20:28 +0200 (Thu, 19 Aug 2010) | 3 lines closes #3777. type constructor inference now tries harder to unify a type constructor variable (that's applied to type arguments) with a type alias by dealiasing it, hoping to discover a concrete type constructor (that's applied to type arguments). no review ........ r22804 | moors | 2010-08-20 16:48:12 +0200 (Fri, 20 Aug 2010) | 12 lines closes 2462. better implicit error messages. @implicitNotFound(msg="Custom error message that may refer to type parameters ${T} and ${U}") trait Constraint[T, U] whenever an implicit argument of type Constraint[A, B] cannot be found, the custom error message will be used, where the type arguments are interpolated in the obvious way note: if the msg in the annotation references non-existing type params, a warning is emitted the patch also cleans up annotation argument retrieval (moved it to AnnotationInfo from Symbol) review by odersky ........ r22805 | moors | 2010-08-21 10:25:00 +0200 (Sat, 21 Aug 2010) | 1 line forgot to update check file after renaming tests. no review. ........
* Undid all commits between 22566 and 22597 includedAntonio Cunei2010-09-011-12/+14
| | | | | | in the 2.8.x branch, restoring the status to 2.8.0 final release, in preparation for 2.8.1.
* Merged revisions 22285,22291,22295-22300,22310,...Antonio Cunei2010-07-141-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 22285,22291,22295-22300,22310,22314-22316,22318-22319,22323,22326,22335, 22347,22355-22359,22361-22362,22371-22373,22393,22396,22409-22411,22416- 22421,22423,22426,22435,22445-22446,22448-22464,22466-22479,22481-22482, 22484,22486-22490,22493,22498-22501,22508-22520,22523-22527,22532,22534, 22536-22540,22542,22544-22545,22549-22550,22556 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r22285 | dubochet | 2010-06-14 16:10:43 +0200 (Mon, 14 Jun 2010) | 1 line Added test case for #432. No review. ........ r22291 | extempore | 2010-06-15 03:46:57 +0200 (Tue, 15 Jun 2010) | 2 lines A love letter to the inliner. This attempt to fix #3420 may more closely approximate fixedness. Review by dragos. ........ r22295 | michelou | 2010-06-15 17:17:10 +0200 (Tue, 15 Jun 2010) | 2 lines updated version number in build.number file ........ r22296 | michelou | 2010-06-15 17:20:25 +0200 (Tue, 15 Jun 2010) | 2 lines added Scala examples adapted from UAD book (Android examples) ........ r22297 | dubochet | 2010-06-15 18:08:57 +0200 (Tue, 15 Jun 2010) | 1 line [scaladoc] Slightly more robust treatment of "code" HTML elements in Scaladoc comments. No review. ........ r22298 | dubochet | 2010-06-15 18:09:36 +0200 (Tue, 15 Jun 2010) | 1 line [scaladoc] New display mode for members: ordered by inheritance class. Review by malayeri. ........ r22299 | prokopec | 2010-06-15 18:15:47 +0200 (Tue, 15 Jun 2010) | 2 lines Adding primary version of parallel hash tries. No review. ........ r22300 | michelou | 2010-06-15 20:01:21 +0200 (Tue, 15 Jun 2010) | 2 lines updated svn props (Android examples) ........ r22310 | prokopec | 2010-06-16 12:07:42 +0200 (Wed, 16 Jun 2010) | 1 line Fixed hash trie splitting. No review. ........ r22314 | prokopec | 2010-06-16 16:07:07 +0200 (Wed, 16 Jun 2010) | 1 line Minor changes in parallel hash trie. No review. ........ r22315 | dubochet | 2010-06-16 16:16:31 +0200 (Wed, 16 Jun 2010) | 1 line [Scaladoc] Self types are printed. Contributed by Manohar Jonnalagedda. Checked by dubochet. ........ r22316 | michelou | 2010-06-16 16:28:53 +0200 (Wed, 16 Jun 2010) | 2 lines updated svn properties (Android examples) ........ r22318 | odersky | 2010-06-16 17:36:08 +0200 (Wed, 16 Jun 2010) | 1 line Imporved printing of private[C] in TreePrinters. No review. ........ r22319 | michelou | 2010-06-16 18:04:43 +0200 (Wed, 16 Jun 2010) | 2 lines reverted change to avoid merge conflict ........ r22323 | cunei | 2010-06-16 20:36:00 +0200 (Wed, 16 Jun 2010) | 2 lines temporarily reversing r22260; will be shortly re-committed in two separate portions. ........ r22326 | cunei | 2010-06-16 20:46:50 +0200 (Wed, 16 Jun 2010) | 2 lines second part of r22260 ........ r22335 | extempore | 2010-06-17 00:14:52 +0200 (Thu, 17 Jun 2010) | 5 lines The inliner now looks harder for method implementations. In addition to the receiver, it will find those in directly mixed in traits and in superclasses. It still won't find those in traits mixed only into superclasses, as that didn't come quite so easily. Closes #3234 but I'll be opening up another ticket. Review by dragos. ........ r22347 | prokopec | 2010-06-18 09:49:14 +0200 (Fri, 18 Jun 2010) | 1 line Refactorings and hash trie combiners. No review. ........ r22355 | dubochet | 2010-06-18 14:59:39 +0200 (Fri, 18 Jun 2010) | 1 line [scaladoc] Added linear super types. Review by cunei. ........ r22356 | michelou | 2010-06-18 16:48:39 +0200 (Fri, 18 Jun 2010) | 2 lines added support for customized ramdisks (Android examples) ........ r22357 | prokopec | 2010-06-18 17:06:17 +0200 (Fri, 18 Jun 2010) | 1 line Moved parallel collections to library dir, changed sabbus script. Added `par` to some of the classes. No review. ........ r22358 | dubochet | 2010-06-18 17:34:35 +0200 (Fri, 18 Jun 2010) | 3 lines [scaladoc] There is a text filter tool for members (searching on member name and comment body). Adds button to reset text filter tool. No review. Known limitation: filtering of members is blocking on keystroke leading to sluggish performance on large classes. Scheduler from index needs to be used for member filtering. ........ r22359 | michelou | 2010-06-18 17:48:05 +0200 (Fri, 18 Jun 2010) | 2 lines minor docu update (Android examples) ........ r22361 | dubochet | 2010-06-18 18:48:05 +0200 (Fri, 18 Jun 2010) | 1 line [scaladoc] Abstract members can be filtered in or out. Pointer icons are less crazy. Review by dubochet. Contributed by Pedro Furlanetto. ........ r22362 | dubochet | 2010-06-18 18:48:34 +0200 (Fri, 18 Jun 2010) | 1 line [scaladoc] A warning is printed when usecase members have different names than the real member being commented. Review by odersky. Contributed by Pedro Furlanetto. ........ r22371 | michelou | 2010-06-20 18:54:24 +0200 (Sun, 20 Jun 2010) | 2 lines updated busybox 1.8.1->1.16.1 (Android examples) ........ r22372 | michelou | 2010-06-20 18:59:34 +0200 (Sun, 20 Jun 2010) | 2 lines minor script update (Android examples) ........ r22373 | michelou | 2010-06-20 19:03:52 +0200 (Sun, 20 Jun 2010) | 2 lines added busybox license notice (Android examples) ........ r22393 | rytz | 2010-06-24 18:43:40 +0200 (Thu, 24 Jun 2010) | 1 line close #3543 ........ r22396 | michelou | 2010-06-25 15:56:23 +0200 (Fri, 25 Jun 2010) | 2 lines yguard->proguard, more samples (Android examples) ........ r22409 | michelou | 2010-06-28 19:26:38 +0200 (Mon, 28 Jun 2010) | 2 lines added missing svn props ........ r22410 | michelou | 2010-06-28 19:37:16 +0200 (Mon, 28 Jun 2010) | 1 line minor changes (Android examples) ........ r22411 | michelou | 2010-06-28 19:39:18 +0200 (Mon, 28 Jun 2010) | 1 line fixed #3604 ........ r22416 | rytz | 2010-06-29 14:32:45 +0200 (Tue, 29 Jun 2010) | 1 line close #2413. maybe there's better place to this conversion, therefore review by odersky. ........ r22417 | michelou | 2010-06-29 15:49:32 +0200 (Tue, 29 Jun 2010) | 2 lines reverted svn:eol-style to LF (was intentionnal!) ........ r22418 | michelou | 2010-06-29 16:00:36 +0200 (Tue, 29 Jun 2010) | 2 lines removed warnings (deprecation,unchecked) ........ r22419 | prokopec | 2010-06-29 16:05:59 +0200 (Tue, 29 Jun 2010) | 1 line Implemented lazy combiners for parallel hash trie. ........ r22420 | rytz | 2010-06-29 16:19:42 +0200 (Tue, 29 Jun 2010) | 1 line companion objects of case classes know their name. review by extempore. close #3579. ........ r22421 | michelou | 2010-06-29 16:43:40 +0200 (Tue, 29 Jun 2010) | 2 lines Ant script improvements (Android examples) ........ r22423 | michelou | 2010-06-29 21:06:21 +0200 (Tue, 29 Jun 2010) | 2 lines minor fix (Android examples) ........ r22426 | rytz | 2010-06-30 13:03:00 +0200 (Wed, 30 Jun 2010) | 1 line moved toScalaRepeatedParam TypeMap to refchecks. no review ........ r22435 | prokopec | 2010-06-30 17:16:49 +0200 (Wed, 30 Jun 2010) | 1 line Parallel array `map` optimisation. No review. ........ r22445 | extempore | 2010-06-30 22:51:18 +0200 (Wed, 30 Jun 2010) | 1 line Added forkjoin to partest's classpath to unbreak the build. No review. ........ r22446 | extempore | 2010-07-01 00:57:41 +0200 (Thu, 01 Jul 2010) | 9 lines Enumeration fixes. There was no way to do reflection-based naming correctly simply by inspecting method signatures (because a Value from a different Enumeration stored in a val looks identical to one from this Enumeration) so I have Value store the outer Enum for comparison purposes. This won't make anything new uncollectable because they already have an $outer pointing there. This also simplified the reflection logic: it's an eq test rather than a series of heuristics. Closes #3616, #3615. Review by phaller. ........ r22448 | extempore | 2010-07-01 01:56:32 +0200 (Thu, 01 Jul 2010) | 1 line Test case closes #3440. No review. ........ r22449 | extempore | 2010-07-01 01:56:44 +0200 (Thu, 01 Jul 2010) | 1 line Removed a test from pending which is also in files. No review. ........ r22450 | extempore | 2010-07-01 02:16:32 +0200 (Thu, 01 Jul 2010) | 4 lines Although everything now builds for me, the buildbot still fails on src/dbc for lack of forkjoin.jar. We apparently have invented non-deterministic jar dependencies. Added forkjoin.jar in another spot, no review. ........ r22451 | extempore | 2010-07-01 20:28:52 +0200 (Thu, 01 Jul 2010) | 1 line Test case closes #1845, no review. ........ r22452 | extempore | 2010-07-01 20:29:09 +0200 (Thu, 01 Jul 2010) | 2 lines Warded off a parser crash on certain invalid programs. Closes #3209, no review. ........ r22453 | extempore | 2010-07-01 20:29:22 +0200 (Thu, 01 Jul 2010) | 2 lines Some modifications to ZipFile to make sure the stream is always closed after iteration. No review. ........ r22454 | extempore | 2010-07-01 20:29:34 +0200 (Thu, 01 Jul 2010) | 1 line Tweaked a test to pass under java 7. No review. ........ r22455 | extempore | 2010-07-01 20:29:45 +0200 (Thu, 01 Jul 2010) | 4 lines Test case for #1974, which was fixed at some point even though martin says in the comments it wouldn't be fixed for 2.8. Take that, things which think they won't be fixed which really will be. Closes #1974, no review. ........ r22456 | extempore | 2010-07-01 22:31:45 +0200 (Thu, 01 Jul 2010) | 2 lines Separate option Ordering into a trait so it can be reused. Closes #3539, no review. ........ r22457 | extempore | 2010-07-01 22:32:02 +0200 (Thu, 01 Jul 2010) | 2 lines A crasher in the pattern matcher revealed a flaw in how equality comparisons were constructed. Closes #3570, no review. ........ r22458 | extempore | 2010-07-01 22:32:15 +0200 (Thu, 01 Jul 2010) | 2 lines Removing some dead code from SyncVar and cleaning up a little. Closes #3490, no review. ........ r22459 | extempore | 2010-07-01 22:32:30 +0200 (Thu, 01 Jul 2010) | 2 lines Created mutable.SeqLike so as to mix in Cloneable like mutable.{Set, Map} do. Closes #3590, review by odersky. ........ r22460 | extempore | 2010-07-01 22:32:47 +0200 (Thu, 01 Jul 2010) | 2 lines Fixed an infinite loop in the xml parser on invalid input. Also found an off by one bug in Source while fixing it. No review. ........ r22461 | extempore | 2010-07-01 22:33:11 +0200 (Thu, 01 Jul 2010) | 6 lines Renaming files and inserting dummies to please ant. Note to committers: whenever there is a source file which does not generate a classfile whose name and path exactly match the name and path of the source file, then ant will recompile the file every time it compiles anything. In this batch there were 7 such files, so any 1-char change meant an 8-file recompile. Someday we'll be rid of ant, but until then... no review. ........ r22462 | extempore | 2010-07-01 22:43:32 +0200 (Thu, 01 Jul 2010) | 4 lines Since the buildbots won't meet me in the middle, am putting the forkjoin.jar everywhere with the hope/expectation we will see a restoral of order. Someone should definitely figure out how it is we developed this non-deterministic dependency. Review by phaller. ........ r22463 | extempore | 2010-07-01 23:31:21 +0200 (Thu, 01 Jul 2010) | 7 lines Took a cue from mharrah that we don't need to build global static data to keep track of something when we know where it's kept. Altered the Enumeration deserialization scheme to use reflection, preserving the singleton property by delivering the MODULE$ singleton. This solves the GC issue and lets us drop synchronization to boot. Also added some graceful failure for malformed Enumerations. All tests look good but a second opinion is in order: closes #2214, review by phaller. ........ r22464 | extempore | 2010-07-01 23:39:38 +0200 (Thu, 01 Jul 2010) | 3 lines Abandoned any pretense of selectivity and put forkjoin.jar on every compilation path from locker to strap. Review postponed until the afterlife. ........ r22466 | extempore | 2010-07-02 03:01:44 +0200 (Fri, 02 Jul 2010) | 2 lines Fail more gracefully on > 22 case class parameters. Closes #3631, no review. ........ r22467 | extempore | 2010-07-02 05:14:10 +0200 (Fri, 02 Jul 2010) | 3 lines Test cases close #13, #95. No review. (That's right, multiple two digit tickets.) ........ r22468 | extempore | 2010-07-02 05:14:22 +0200 (Fri, 02 Jul 2010) | 1 line Test case for (long ago closed) #2106, no review. ........ r22469 | extempore | 2010-07-02 05:17:51 +0200 (Fri, 02 Jul 2010) | 1 line New starr based on r22464, no review. ........ r22470 | extempore | 2010-07-02 06:20:28 +0200 (Fri, 02 Jul 2010) | 2 lines Normalized protected type aliases before repl printing, so we don't see things like x.Self. Closes #3193, no review. ........ r22471 | extempore | 2010-07-02 06:20:44 +0200 (Fri, 02 Jul 2010) | 4 lines Some more improvement on the error messages when @tailrec fails. Now it gives a sensible message if the recursive target is actually a supertype of this, rather than saying the call is not in tail position. No review. ........ r22472 | extempore | 2010-07-02 08:26:29 +0200 (Fri, 02 Jul 2010) | 3 lines Made a null output sink and applied it to the recently failing test, which is displaying non-deterministic output by way of the underlying parser. No review. ........ r22473 | extempore | 2010-07-02 18:26:05 +0200 (Fri, 02 Jul 2010) | 1 line Option gets an empty factory like the collections. Closes #3414, no review. ........ r22474 | dubochet | 2010-07-02 18:31:33 +0200 (Fri, 02 Jul 2010) | 1 line Partest task will go into verbose debug mode when ant's debug flag is set. ........ r22475 | dubochet | 2010-07-02 18:38:29 +0200 (Fri, 02 Jul 2010) | 1 line Closes #1766 (structural method dispatch broken in class with multiple constructors). Review by prokopec. ........ r22476 | dubochet | 2010-07-02 20:12:33 +0200 (Fri, 02 Jul 2010) | 1 line Closes #2318 (spurious IllegalAccessException thrown by some structural calls, caused by Java bug 4071957). Review by malayeri. ........ r22477 | extempore | 2010-07-02 22:50:14 +0200 (Fri, 02 Jul 2010) | 3 lines A cosmetic change which serves to document that sourcepath can in fact accept a path. No test because I can't figure out how to make partest see the srcdirs. Closes #2202, no review. ........ r22478 | extempore | 2010-07-02 22:50:29 +0200 (Fri, 02 Jul 2010) | 6 lines Routed all places in trunk which look for jar files through the same function, and then changed the default behavior to recognize jars even if they don't have a *.jar extension by squinting at the first few bytes of the file. Closes #3000 (THE AMAZING TICKET 3000!), review by phaller. ........ r22479 | michelou | 2010-07-02 22:51:14 +0200 (Fri, 02 Jul 2010) | 2 lines minor changes (Android examples) ........ r22481 | extempore | 2010-07-03 02:56:00 +0200 (Sat, 03 Jul 2010) | 4 lines When compilation fails because of an unimplemented abstract var, give a more precise error message about what happened. Also avoid issuing the same error twice because neither getter nor setter is implemented. Closes #36, review by rytz. ........ r22482 | extempore | 2010-07-03 07:19:47 +0200 (Sat, 03 Jul 2010) | 1 line Test case closes #261, no review. ........ r22484 | extempore | 2010-07-04 22:26:55 +0200 (Sun, 04 Jul 2010) | 2 lines Tightened how the repl prints types so we don't see OverloadedTypes slip through sometimes. Review by apocalisp. ........ r22486 | prokopec | 2010-07-05 11:25:39 +0200 (Mon, 05 Jul 2010) | 1 line Fixes #3580. Review by extempore. ........ r22487 | prokopec | 2010-07-05 12:08:32 +0200 (Mon, 05 Jul 2010) | 1 line Fixes #3584. No review. ........ r22488 | extempore | 2010-07-05 17:35:46 +0200 (Mon, 05 Jul 2010) | 2 lines Put a couple null checks in the inliner so it doesn't NPE under -Ydebug. No review. ........ r22489 | extempore | 2010-07-05 18:00:22 +0200 (Mon, 05 Jul 2010) | 3 lines The take/drop methods in IndexedSeqOptimized were overridden to call slice without checking bounds, causing it to fail when the argument is too large. Restored expected behavior. No review. ........ r22490 | extempore | 2010-07-05 18:06:36 +0200 (Mon, 05 Jul 2010) | 1 line A brown bag on the head fix to that last patch. No review. ........ r22493 | michelou | 2010-07-06 12:17:42 +0200 (Tue, 06 Jul 2010) | 2 lines added support for ProGuard debug/release configs (Android examples) ........ r22498 | dubochet | 2010-07-06 18:07:31 +0200 (Tue, 06 Jul 2010) | 1 line [scaladoc] Implements documentation of higher-kinded entities. Closes #3618. Review by moors. ........ r22499 | dubochet | 2010-07-06 18:21:00 +0200 (Tue, 06 Jul 2010) | 1 line [scaladoc] Hiding full comments in template pages at startup is done by CSS instead of JavaScript, leading to better performance. Contributed by Pedro Furlanetto. Review by dubochet. ........ r22500 | dubochet | 2010-07-06 18:29:38 +0200 (Tue, 06 Jul 2010) | 1 line [scaladoc] Follow-up on review SCL-95. No review. ........ r22501 | dubochet | 2010-07-06 18:39:31 +0200 (Tue, 06 Jul 2010) | 1 line [scaladoc] Follow-up on review SCL-110. No review. ........ r22508 | moors | 2010-07-08 17:58:41 +0200 (Thu, 08 Jul 2010) | 7 lines closes #2331: the pre-transform in Erasure did not correctly recurse in the case of a TypeApply. It simply returned the function, which might very well have been, say, a Select node, which had to be erased in case the qualifier's type is a refinement. (sorry about the whitespace changes) review by odersky ........ r22509 | moors | 2010-07-08 17:58:47 +0200 (Thu, 08 Jul 2010) | 7 lines closes #2416. this is a big one... typedAppliedTypeTree performed type application (beta-reduction) without checking whether that application was well-kinded this patch introduces a new subclass of TypeTree: TypeTreeWithDeferredRefCheck, which tracks the type args and type params of a type application when it was beta-reduced during typing without checking that the application was well-kinded -- that check must wait until refchecks, but was never performed since the application had been beta-reduced away caveat discovered while working on the fix: adapt turned all trees for which _.isType holds into TypeTree's review by odersky ........ r22510 | moors | 2010-07-08 17:58:52 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3247: syntax error regarding context bounds generalized to include view bounds as we cannot easily be more specific no review ........ r22511 | moors | 2010-07-08 17:58:56 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3249. exclude method type parameters from java generic signature of a class review by dragos ........ r22512 | moors | 2010-07-08 17:59:00 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3374. checkKindBoundsHK did not instantiate hk params far enough. see also neg/bug1275 review by odersky ........ r22513 | moors | 2010-07-08 17:59:05 +0200 (Thu, 08 Jul 2010) | 5 lines closes #3399. mergePrefixAndArgs expects types that have equal type symbols (modulo normalization) but did not normalize these types before retrieving their typeArgs this broke the invariant that argss is a regular matrix review by odersky ........ r22514 | moors | 2010-07-08 17:59:10 +0200 (Thu, 08 Jul 2010) | 15 lines closes #3477. type arguments that were inferred to be Nothing should be included in checkBounds. wonder why they weren't in the first place note that all type parameters must be reported in error messages about failing type inference, but only type parameters that were inferred successfully should be substituted the idea of mapping type parameter symbols to the corresponding type ref in order to make substitution the identity does not seem to work, leading to errors like: src/library/scala/collection/immutable/SortedMap.scala:38: error: type mismatch; found : scala.collection.immutable.SortedMap[A,B(in method empty)] required: scala.collection.immutable.SortedMap[A,B(in trait SortedMap)] override def empty: SortedMap[A, B] = SortedMap.empty ^ (I guess that's why they were retracted before, but that wasn't done consistently, leading to #3152 -- my first attempt at fixing the latter lead to this bug... I've assigned #3152 to you Martin, as I can't decide how to fix it.) review by odersky ........ r22515 | moors | 2010-07-08 17:59:15 +0200 (Thu, 08 Jul 2010) | 5 lines closes #3486. members of implclasses are clones of the original trait members, but cloning discards a symbol's typehistory so that javaSig could not look at the symbol's type before erasure fixed by having mixin do the cloning at the beginning of erasure and then updating the symbol's info to transform it to be valid in current phase review by odersky ........ r22516 | moors | 2010-07-08 17:59:19 +0200 (Thu, 08 Jul 2010) | 3 lines closes #3494. don't let type argument for inserted wrapRefArray be inferred (as the expected element type of the array could be a singleton type, but that won't be inferred) review by prokopec ........ r22517 | moors | 2010-07-08 17:59:23 +0200 (Thu, 08 Jul 2010) | 1 line closes #3507: don't generate manifests where we can't refer to the existentially bound value ........ r22518 | moors | 2010-07-08 17:59:27 +0200 (Thu, 08 Jul 2010) | 3 lines closes #742. be more resilient to evil, ill-kinded type applications, so we don't crash (subst assumes from.length == to.length), and get to actually telling off the user for writing those nasty, nasty types review by extempore ........ r22519 | moors | 2010-07-08 17:59:32 +0200 (Thu, 08 Jul 2010) | 2 lines closes #3622: refchecks erased types without uncurrying them first review by odersky ........ r22520 | moors | 2010-07-08 17:59:36 +0200 (Thu, 08 Jul 2010) | 1 line made typechecker logging methods final so they can actually be inlined ........ r22523 | moors | 2010-07-09 02:24:02 +0200 (Fri, 09 Jul 2010) | 3 lines cleaned up the mess that resulted from cobbling together fixes for see #3477 and see #3152 adjustTypeArgs and methTypeArgs now return a LinkedHashMap[Symbol, Option[Type]] TODO: check that type inference is still just as lightning fast as before ........ r22524 | rytz | 2010-07-09 11:51:03 +0200 (Fri, 09 Jul 2010) | 1 line close #3649. no review ........ r22525 | rytz | 2010-07-09 11:51:06 +0200 (Fri, 09 Jul 2010) | 1 line close #3648. default getters for constructor defaults are now static. however, they still need to live in the companion object to avoid name conflicts when subclasses also define constructor defaults. review by odersky. ........ r22526 | prokopec | 2010-07-09 13:31:34 +0200 (Fri, 09 Jul 2010) | 1 line closes #3603. no review ........ r22527 | prokopec | 2010-07-09 17:06:01 +0200 (Fri, 09 Jul 2010) | 1 line Closes #3493. Review by extempore. ........ r22532 | michelou | 2010-07-10 06:49:28 +0200 (Sat, 10 Jul 2010) | 2 lines minor fix in Ant scripts, more samples (Android examples) ........ r22534 | michelou | 2010-07-11 09:45:58 +0200 (Sun, 11 Jul 2010) | 2 lines updated docu (Android examples) ........ r22536 | phaller | 2010-07-12 10:29:45 +0200 (Mon, 12 Jul 2010) | 1 line Added test case for #3645. Closes #3645. ........ r22537 | phaller | 2010-07-12 11:08:09 +0200 (Mon, 12 Jul 2010) | 1 line Added test case for see #3636. ........ r22538 | phaller | 2010-07-12 11:27:59 +0200 (Mon, 12 Jul 2010) | 1 line Added test case for see #3620. ........ r22539 | phaller | 2010-07-12 11:35:30 +0200 (Mon, 12 Jul 2010) | 1 line Added test case for see #3628 in pending. ........ r22540 | phaller | 2010-07-12 13:49:28 +0200 (Mon, 12 Jul 2010) | 1 line Fixed buggy test case. Closes #3551. No review. ........ r22542 | phaller | 2010-07-12 16:13:11 +0200 (Mon, 12 Jul 2010) | 1 line Updated LinkedBlockingQueue to latest jsr166 version. Verified bug fix using test case in [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6806875 JDK bug report 6806875]. Closes #3629. ........ r22544 | michelou | 2010-07-12 17:57:40 +0200 (Mon, 12 Jul 2010) | 2 lines removed generics warnings in actors ........ r22545 | moors | 2010-07-12 19:03:03 +0200 (Mon, 12 Jul 2010) | 7 lines Closes #3653. In uncurry phase, remove IMPLICIT flag from implicit parameter list. no review Author: Mark Harrah <dmharrah@gmail.com> Date: Thu Jul 8 10:30:57 2010 -0400 Source: http://github.com/harrah/scala-starrless/commit/0c7759c95b47cebc6d9fa77cefd34ef638e2706e Reviewer: moors ........ r22549 | rytz | 2010-07-13 09:14:37 +0200 (Tue, 13 Jul 2010) | 1 line close #3648 (again). objects extending their companion class can no longer use default constructor arguments. review by odersky ........ r22550 | michelou | 2010-07-13 12:38:05 +0200 (Tue, 13 Jul 2010) | 2 lines minor proguard config change (Android examples) ........ r22556 | extempore | 2010-07-14 10:00:03 +0200 (Wed, 14 Jul 2010) | 2 lines Moved the burden of forgivingness for string slices into StringOps where it belongs. Review by odersky. ........
* Merged revisions 19842,19844,19846,19848-19849,...Antonio Cunei2009-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 19842,19844,19846,19848-19849,19854-19855,19858-19859,19861,19863-19865, 19867,19869,19871-19874,19888,19891-19897,19899-19901,19903-19905,19908- 19914,19916-19918,19925-19926,19935,19938-19939,19941,19945,19948-19950, 19952,19959,19963-19964,19970-19975,19982-19984,19986,19988-19989,19992- 19995,20003-20004,20006-20008,20010-20011,20014-20016,20021-20022,20028, 20036,20041-20042,20044-20045,20048,20050-20052,20056,20063-20064,20068, 20070-20076,20079-20080,20082,20085-20088,20092-20093,20095-20098,20104, 20107,20109-20110,20114,20124,20129,20133,20137-20140,20142-20143,20149 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r19842 | extempore | 2009-11-24 19:59:58 +0100 (Tue, 24 Nov 2009) | 1 line Giant cleanup of the automata files. Fixes #1992. ........ r19844 | dubochet | 2009-11-24 20:27:10 +0100 (Tue, 24 Nov 2009) | 1 line Scaladoc 2. ........ r19846 | dubochet | 2009-11-24 20:57:32 +0100 (Tue, 24 Nov 2009) | 1 line Disabled docgenerator test, which isn't compatible with Scaladoc 2. ........ r19848 | extempore | 2009-11-24 21:10:50 +0100 (Tue, 24 Nov 2009) | 2 lines Some improvements to REPL completion. Package objects members are now visible. ........ r19849 | extempore | 2009-11-24 23:19:22 +0100 (Tue, 24 Nov 2009) | 1 line Fix for #2695 - do not generate forwarders for abstract methods. ........ r19854 | moors | 2009-11-25 10:20:26 +0100 (Wed, 25 Nov 2009) | 3 lines closed #2624: instantiate type params after eta expansion of polymorphic method does not blow the stack on pos/t0674 (previous private fix did typed(tree); instantiate(tree) instead of instantiate(typed(tree))) fixed check file for neg/bug608 -- got better error message ........ r19855 | cunei | 2009-11-25 11:07:56 +0100 (Wed, 25 Nov 2009) | 3 lines Removed OMake build files. They are outdated, and it is highly unlikely we'll ever find a maintainer. ........ r19858 | cunei | 2009-11-25 13:09:54 +0100 (Wed, 25 Nov 2009) | 2 lines updated README ........ r19859 | rytz | 2009-11-25 14:43:45 +0100 (Wed, 25 Nov 2009) | 1 line re-compiled msil.jar (scala.Math / scala.math business) ........ r19861 | moors | 2009-11-25 16:48:19 +0100 (Wed, 25 Nov 2009) | 1 line quick fix for #2673: relaxed zipped on Tuple2/Tuple3 (back to using A => B for constraint instead of A <%< B) ........ r19863 | extempore | 2009-11-25 17:34:54 +0100 (Wed, 25 Nov 2009) | 2 lines Added some logic to StringLike.format so that scala Numeric types can be used without a runtime error. ........ r19864 | extempore | 2009-11-25 17:41:47 +0100 (Wed, 25 Nov 2009) | 3 lines Updating deprecated usages in new scaladoc code. Used that as inspiration to chase down a few spots using get and getOrElse in suboptimal fashion. ........ r19865 | extempore | 2009-11-25 17:59:03 +0100 (Wed, 25 Nov 2009) | 1 line Missed including Predef.printf in r19863. Closes #2694. ........ r19867 | moors | 2009-11-25 18:05:08 +0100 (Wed, 25 Nov 2009) | 1 line closed #2485: failing assert on reference to Java protected methods from companion object ........ r19869 | extempore | 2009-11-25 19:16:49 +0100 (Wed, 25 Nov 2009) | 3 lines Working on scala.runtime. Removed RichString, which is now dead code and falling out of sync with StringLike. Made a method in MethodCache verifiably tail-recursive. ........ r19871 | extempore | 2009-11-25 19:50:55 +0100 (Wed, 25 Nov 2009) | 1 line Removing redundant scalap code. ........ r19872 | extempore | 2009-11-25 20:38:53 +0100 (Wed, 25 Nov 2009) | 4 lines Cleaning up in scala.runtime.*. Removing unused methods. Fixed toArray to copy more than one element into the new one. Added sameElements to Iterator to further simplify the case class support logic, and because it should be there anyway. ........ r19873 | dragos | 2009-11-25 20:42:33 +0100 (Wed, 25 Nov 2009) | 2 lines Updated Idea files to use relative paths towards locker when building quick ........ r19874 | dragos | 2009-11-25 20:42:35 +0100 (Wed, 25 Nov 2009) | 2 lines Fixed ticket 2464 ........ r19888 | extempore | 2009-11-25 23:26:10 +0100 (Wed, 25 Nov 2009) | 1 line Fix for #2704. ........ r19891 | odersky | 2009-11-26 13:03:24 +0100 (Thu, 26 Nov 2009) | 1 line Closed #2863 ........ r19892 | odersky | 2009-11-26 13:04:56 +0100 (Thu, 26 Nov 2009) | 1 line undeprecated containsSlice. renamed indexOfSeq, lastIndexOfSeq to ...Slice. ........ r19893 | plocinic | 2009-11-26 13:05:45 +0100 (Thu, 26 Nov 2009) | 1 line Closes #2562 ........ r19894 | rytz | 2009-11-26 13:25:49 +0100 (Thu, 26 Nov 2009) | 1 line improved fix for see #2489 ........ r19895 | dragos | 2009-11-26 14:26:25 +0100 (Thu, 26 Nov 2009) | 2 lines Fixed #1167. ........ r19896 | dragos | 2009-11-26 14:30:15 +0100 (Thu, 26 Nov 2009) | 2 lines Merge branch 'inner-class-attr' ........ r19897 | dubochet | 2009-11-26 15:13:15 +0100 (Thu, 26 Nov 2009) | 1 line Fixed some Scaladoc issues: dangerous characters in file names are encoded, each owner template is a link, type bounds are printed as "<:" and ">:". ........ r19899 | dragos | 2009-11-26 17:55:48 +0100 (Thu, 26 Nov 2009) | 2 lines Closed #2418 ........ r19900 | malayeri | 2009-11-26 17:56:02 +0100 (Thu, 26 Nov 2009) | 1 line Improved fix for #2552 ........ r19901 | dragos | 2009-11-26 17:59:47 +0100 (Thu, 26 Nov 2009) | 2 lines Fixed test cases to the new method names (indexOfSeq -> indexOfSlice). See r19892 ........ r19903 | extempore | 2009-11-26 23:09:33 +0100 (Thu, 26 Nov 2009) | 1 line Closes #2707. ........ r19904 | extempore | 2009-11-26 23:29:12 +0100 (Thu, 26 Nov 2009) | 2 lines Following up on my deprecated method overreach. Now I believe trunk contains all the deprecated methods it should. ........ r19905 | extempore | 2009-11-27 00:26:51 +0100 (Fri, 27 Nov 2009) | 1 line Unbreaking build. ........ r19908 | extempore | 2009-11-27 06:34:47 +0100 (Fri, 27 Nov 2009) | 1 line Fixed test I broke. Reminded self not to commit when in a hurry. ........ r19909 | odersky | 2009-11-27 11:00:44 +0100 (Fri, 27 Nov 2009) | 1 line Made Symbols.filter more robost. Hopefully this fixes the specs problem with RC2. ........ r19910 | moors | 2009-11-27 11:45:51 +0100 (Fri, 27 Nov 2009) | 1 line tests in pending for see #2705 -- note that partest does not work for jvm tests under pending, move to files and it works, see #2711 ........ r19911 | malayeri | 2009-11-27 12:05:04 +0100 (Fri, 27 Nov 2009) | 1 line Closes #2540 and closes #2593. ........ r19912 | extempore | 2009-11-27 14:28:45 +0100 (Fri, 27 Nov 2009) | 1 line Performance improvement on Ordering. Closes #2697. ........ r19913 | malayeri | 2009-11-27 14:36:37 +0100 (Fri, 27 Nov 2009) | 1 line Undo previous change to Typers; use filter if method withFilter is not available. ........ r19914 | dragos | 2009-11-27 15:49:41 +0100 (Fri, 27 Nov 2009) | 2 lines Fixed failing test in the optimised case ........ r19916 | extempore | 2009-11-27 18:29:55 +0100 (Fri, 27 Nov 2009) | 2 lines Removed method cached from MapLike - it's an exact duplicate of getOrElseUpdate. Closes #2715. ........ r19917 | dcaoyuan | 2009-11-27 20:42:52 +0100 (Fri, 27 Nov 2009) | 1 line Removed redundant code, let CompilerCommand processes all params ........ r19918 | dcaoyuan | 2009-11-27 22:15:24 +0100 (Fri, 27 Nov 2009) | 1 line Added -make option transitivenocp which won't check classpath, so some build tools such as maven can manage this by itself ........ r19925 | extempore | 2009-11-28 22:11:43 +0100 (Sat, 28 Nov 2009) | 4 lines Added a line to build.xml to echo the value of $ANT_OPTS after being burned one too many times by having it already set in my environment. What was the motivation for that change again? In any case this should make it easier to notice. ........ r19926 | extempore | 2009-11-28 23:18:12 +0100 (Sat, 28 Nov 2009) | 2 lines Fix for #2725 - configure the SAX parser not to freak out on an invalid doctype URL. ........ r19935 | odersky | 2009-11-30 13:48:55 +0100 (Mon, 30 Nov 2009) | 1 line Extensive documentation of TraversableLike in proposed new style. ........ r19938 | extempore | 2009-11-30 16:06:14 +0100 (Mon, 30 Nov 2009) | 4 lines Removed a deprecated method which snuck back into TraversableLike. "remove" had only ever been deprecated in List, so I moved it there so it didn't unnecessarily materialize as a deprecated method in every Traversable. ........ r19939 | extempore | 2009-11-30 16:14:11 +0100 (Mon, 30 Nov 2009) | 1 line Fix for #2736 (scanner not advancing on unicode identifier.) ........ r19941 | cunei | 2009-11-30 16:46:19 +0100 (Mon, 30 Nov 2009) | 2 lines closes #1904 ........ r19945 | dragos | 2009-11-30 17:42:35 +0100 (Mon, 30 Nov 2009) | 2 lines Closed #2726 and added test for #2464 (refs #2464) ........ r19948 | cunei | 2009-11-30 20:00:20 +0100 (Mon, 30 Nov 2009) | 2 lines (Temporarily) closes #2139 ........ r19949 | extempore | 2009-11-30 20:24:14 +0100 (Mon, 30 Nov 2009) | 1 line Fix and test case for #2721. ........ r19950 | extempore | 2009-12-01 01:03:54 +0100 (Tue, 01 Dec 2009) | 1 line Fix and test case for #2378. ........ r19952 | rytz | 2009-12-01 09:28:07 +0100 (Tue, 01 Dec 2009) | 1 line fix msil code generation for exception handlers. ........ r19959 | phaller | 2009-12-01 16:40:23 +0100 (Tue, 01 Dec 2009) | 1 line Added switch to not use fork-join pool on a 1.5 JVM. ........ r19963 | extempore | 2009-12-01 19:28:37 +0100 (Tue, 01 Dec 2009) | 3 lines Implement foreachEntry by calling iteratorEntries.foreach due to an edge-case. The comment in the method explains the issue in detail. ........ r19964 | extempore | 2009-12-01 19:28:55 +0100 (Tue, 01 Dec 2009) | 12 lines [This patch submitted by ismael juma - commit message his words, but condensed.] Fix ticket #1600: Serialization and deserialization of hash-based collections should not re-use hashCode. The collection is rebuilt on deserialization - note that this is not compatible with the previous serialization format. All @SerialVersionUIDs have been reset to 1. WeakHashMap is not Serializable and should not be so. TreeHashMap has not been reintegrated yet. OpenHashMap has not been updated. (I think this collection is flawed and should be removed or reimplemented.) ........ r19970 | extempore | 2009-12-02 02:01:45 +0100 (Wed, 02 Dec 2009) | 1 line Initialization order fix to ijuma's serialization patch. ........ r19971 | extempore | 2009-12-02 05:59:19 +0100 (Wed, 02 Dec 2009) | 3 lines Making the Try/Catch/Finally in ScalaRunTime to do what it looks like they were intended to do. (This code looks like it dates from the Nixon administration, so deleting it might be better.) ........ r19972 | extempore | 2009-12-02 05:59:33 +0100 (Wed, 02 Dec 2009) | 1 line A minor optimization to HashSet. ........ r19973 | extempore | 2009-12-02 05:59:54 +0100 (Wed, 02 Dec 2009) | 2 lines Built out genprod to create a tuple method for reach function alongside its curry method. Generated new FunctionNs. ........ r19974 | extempore | 2009-12-02 06:00:11 +0100 (Wed, 02 Dec 2009) | 1 line Some minor cleanups found while cleaning up. ........ r19975 | extempore | 2009-12-02 06:00:23 +0100 (Wed, 02 Dec 2009) | 2 lines Working around interesting initialization order issue revealed through use of @transient, serialization, and -Xcheckinit. ........ r19982 | rytz | 2009-12-02 17:08:53 +0100 (Wed, 02 Dec 2009) | 1 line moved forkjoin sources out of the library folder ........ r19983 | moors | 2009-12-02 17:12:14 +0100 (Wed, 02 Dec 2009) | 2 lines closes #2750: cooking java raw types in info of type parameters of Java classes review by: odersky ........ r19984 | rytz | 2009-12-02 17:20:48 +0100 (Wed, 02 Dec 2009) | 1 line another test for #2489 ........ r19986 | dubochet | 2009-12-02 18:31:28 +0100 (Wed, 02 Dec 2009) | 1 line [scaladoc] Types are links. Other changes include: renaming factory classes, better html output of members list, better CSS styling, collapsible packages (not final behaviour). ........ r19988 | phaller | 2009-12-02 23:09:29 +0100 (Wed, 02 Dec 2009) | 1 line Moved non-deterministic test for see #1801 to pending. ........ r19989 | extempore | 2009-12-02 23:43:09 +0100 (Wed, 02 Dec 2009) | 2 lines Implemented scala.runtime.AbstractFunction0-22. Knocks something over 500K off the size of the lib/compiler jars. ........ r19992 | phaller | 2009-12-03 12:26:58 +0100 (Thu, 03 Dec 2009) | 1 line Replaced RunnableFuture with placeholder interface. ForkJoinPool no longer inherits from AbstractExecutorService. ........ r19993 | phaller | 2009-12-03 13:03:16 +0100 (Thu, 03 Dec 2009) | 1 line Added Java property to explicitly enable/disable fork-join pool for actors. By default it is enabled only on 1.6 and 1.7 JDKs from Sun. ........ r19994 | rytz | 2009-12-03 13:35:35 +0100 (Thu, 03 Dec 2009) | 1 line re-compiled forkjoin ........ r19995 | phaller | 2009-12-03 15:49:39 +0100 (Thu, 03 Dec 2009) | 1 line Use the same thread pool configuration for DaemonScheduler. ........ r20003 | rytz | 2009-12-04 09:23:11 +0100 (Fri, 04 Dec 2009) | 1 line close #2708 ........ r20004 | rytz | 2009-12-04 09:40:29 +0100 (Fri, 04 Dec 2009) | 1 line oh, i mean 0 not O ........ r20006 | plocinic | 2009-12-04 15:34:04 +0100 (Fri, 04 Dec 2009) | 1 line Added new test, see #2754 ........ r20007 | plocinic | 2009-12-04 16:16:13 +0100 (Fri, 04 Dec 2009) | 1 line object's name should be Test instead of Main ........ r20008 | plocinic | 2009-12-04 17:45:48 +0100 (Fri, 04 Dec 2009) | 1 line .scala_dependencies now correctly tracks the class files (didn't work for example for case classes and more complicated object/class combinations). Refined build manager now compares different symbols not only by name but takes into consideration some flags. This way we avoid comparing for example class with companion object (both share the name but we should compare class with class). Changes class now correctly filters private, local and lifted symbols ('newMembers -= n' didn't eliminate correctly some of the cases). ........ r20010 | phaller | 2009-12-04 18:16:04 +0100 (Fri, 04 Dec 2009) | 1 line Made test jvm/t2515 more robust. ........ r20011 | ilyas | 2009-12-04 18:24:16 +0100 (Fri, 04 Dec 2009) | 1 line #2747 fixed ........ r20014 | dcaoyuan | 2009-12-05 08:21:25 +0100 (Sat, 05 Dec 2009) | 1 line Split command line parameters by space, properly process quoted parameter ........ r20015 | dcaoyuan | 2009-12-05 08:24:36 +0100 (Sat, 05 Dec 2009) | 1 line Don't add empty param ........ r20016 | dubochet | 2009-12-05 17:03:36 +0100 (Sat, 05 Dec 2009) | 1 line [scaladoc] Fixed crash with privately-owned public classes (fixes nightly build). ........ r20021 | extempore | 2009-12-06 22:35:45 +0100 (Sun, 06 Dec 2009) | 7 lines Making the repl-shell bridge nicer. Now you can do: scala> :sh find /Users/paulp -depth 1 -name '.scala*' stdout: List[String] = List(/Users/paulp/.scala_dependencies, /Users/paulp/.scala_history, ...) scala> stdout | "grep history" | "wc -c" res0: Seq[String] = List( 28) ........ r20022 | extempore | 2009-12-06 23:25:50 +0100 (Sun, 06 Dec 2009) | 4 lines Making it easier to explore the AST. Example: scala> :power scala> val t = mkTree("def bip(x: Float) = x.toInt") t: interpreter.compiler.Tree = def bip(x: Float) = x.toInt ........ r20028 | cunei | 2009-12-07 12:49:19 +0100 (Mon, 07 Dec 2009) | 1 line Updated copyright notices to 2010 ........ r20036 | odersky | 2009-12-07 17:39:35 +0100 (Mon, 07 Dec 2009) | 1 line Added lift method to PartialFunction ........ r20041 | ilyas | 2009-12-07 18:25:15 +0100 (Mon, 07 Dec 2009) | 1 line plugin example update to be compiled via scala 2.8 ........ r20042 | odersky | 2009-12-07 18:31:49 +0100 (Mon, 07 Dec 2009) | 1 line new doc comment generation, including some new style doc comments in collection classes. ........ r20044 | extempore | 2009-12-07 19:17:48 +0100 (Mon, 07 Dec 2009) | 1 line Re-deleted a method which snuck back in on the last commit. ........ r20045 | odersky | 2009-12-07 19:37:41 +0100 (Mon, 07 Dec 2009) | 1 line small changes to doc comment model ........ r20048 | extempore | 2009-12-08 03:57:59 +0100 (Tue, 08 Dec 2009) | 1 line Tweaking logic errors in broken docs build. ........ r20050 | rytz | 2009-12-08 11:16:16 +0100 (Tue, 08 Dec 2009) | 1 line make exception handlers catching faster. Review by dragos. ........ r20051 | plocinic | 2009-12-08 12:44:58 +0100 (Tue, 08 Dec 2009) | 1 line see #2708 ........ r20052 | cunei | 2009-12-08 14:37:08 +0100 (Tue, 08 Dec 2009) | 3 lines 2009 -> 2010 ........ r20056 | odersky | 2009-12-08 17:38:05 +0100 (Tue, 08 Dec 2009) | 1 line Closes #2772 ........ r20063 | rytz | 2009-12-09 11:51:06 +0100 (Wed, 09 Dec 2009) | 1 line moved t2515 to pending (fails on ibm6). no review ........ r20064 | malayeri | 2009-12-09 12:05:17 +0100 (Wed, 09 Dec 2009) | 1 line Improve error message for selection from a type parameter. Fixes #2702. ........ r20068 | dubochet | 2009-12-09 15:12:50 +0100 (Wed, 09 Dec 2009) | 1 line [scaladoc] Display of comments is improved. Short description (first sentence) is extracted and displayed by default. Full description, with parameters, etc. is displayed when clicking on the signature. Inheritance classes for every member are printed. Package-list search tool has better performance. ........ r20070 | extempore | 2009-12-09 17:26:02 +0100 (Wed, 09 Dec 2009) | 2 lines A minor identifier change in a method which is instantiated by name, to reduce proguard noise. ........ r20071 | extempore | 2009-12-09 18:03:48 +0100 (Wed, 09 Dec 2009) | 3 lines Took manifests a little closer to the finish line. Variance still doesn't work but the relationships between all the top, nearly top, and bottom types should all be all correct. (See lengthy test case.) ........ r20072 | extempore | 2009-12-09 18:04:08 +0100 (Wed, 09 Dec 2009) | 3 lines Removed productPrefix from case class hashCode consideration. (It is not used in equality and therefore should not be used in hashCode either.) ........ r20073 | extempore | 2009-12-09 18:04:19 +0100 (Wed, 09 Dec 2009) | 1 line Renamed AbstractFunction to AbstractFunction0 to keep ant happy. ........ r20074 | extempore | 2009-12-09 18:04:29 +0100 (Wed, 09 Dec 2009) | 1 line Warning suppression. ........ r20075 | plocinic | 2009-12-09 18:10:56 +0100 (Wed, 09 Dec 2009) | 1 line More informative error message. no review ........ r20076 | plocinic | 2009-12-09 18:18:44 +0100 (Wed, 09 Dec 2009) | 1 line typo ........ r20079 | extempore | 2009-12-09 19:06:20 +0100 (Wed, 09 Dec 2009) | 2 lines Gave all the manifest singletons a readResolve so they unserialize to themselves. ........ r20080 | milessabin | 2009-12-09 22:04:42 +0100 (Wed, 09 Dec 2009) | 1 line Fully export fjbg and msil from scala to scala-plugin to avoid obscure pickler issues when building the IDE incrementally. ........ r20082 | dubochet | 2009-12-09 23:05:21 +0100 (Wed, 09 Dec 2009) | 1 line [scaladoc] Known subclasses are printed. ........ r20085 | plocinic | 2009-12-10 15:42:46 +0100 (Thu, 10 Dec 2009) | 1 line Closes #2559 ........ r20086 | rytz | 2009-12-10 16:32:30 +0100 (Thu, 10 Dec 2009) | 1 line closes #2784 ........ r20087 | plocinic | 2009-12-10 17:05:04 +0100 (Thu, 10 Dec 2009) | 1 line Closes #2649 ........ r20088 | extempore | 2009-12-10 17:37:19 +0100 (Thu, 10 Dec 2009) | 1 line Small rewrite of r20087. ........ r20092 | odersky | 2009-12-10 18:00:59 +0100 (Thu, 10 Dec 2009) | 1 line refined doc comments generation; refactored code into new Chars, DocStrings classes in util. Added some more doc comments to collection classes. ........ r20093 | plocinic | 2009-12-10 18:08:17 +0100 (Thu, 10 Dec 2009) | 1 line cleanup ........ r20095 | extempore | 2009-12-10 18:44:54 +0100 (Thu, 10 Dec 2009) | 3 lines Remedying the fact that I swapped which version of List.fromString was to be deprecated and which was to be deleted, plus some better deprecation advice. ........ r20096 | extempore | 2009-12-10 18:45:05 +0100 (Thu, 10 Dec 2009) | 5 lines Modified partialMap to take PartialFunction[A, B] instead of Any => B. There was definitely some reason I didn't do this in the first place, but either that reason no longer applies or it's not easily induced. However please consider this change slightly tentative as I feel like that other shoe may still be out there and we might have to reconsider. ........ r20097 | extempore | 2009-12-10 18:45:17 +0100 (Thu, 10 Dec 2009) | 1 line Don't NPE on null hashtable entries. ........ r20098 | milessabin | 2009-12-10 20:39:45 +0100 (Thu, 10 Dec 2009) | 1 line Fixed #2616 and #2737. ........ r20104 | plocinic | 2009-12-11 11:55:08 +0100 (Fri, 11 Dec 2009) | 1 line Added test for #2794 ........ r20107 | rytz | 2009-12-11 15:57:35 +0100 (Fri, 11 Dec 2009) | 2 lines fixes #2610 and fixes #2687. "package objects" can now 'inherit from' classes / traits, and refer to members of other package objects. review by odersky. ........ r20109 | odersky | 2009-12-11 19:18:44 +0100 (Fri, 11 Dec 2009) | 1 line allowed $super variables in doc comment; some more documentation of collection classes. ........ r20110 | extempore | 2009-12-11 20:21:44 +0100 (Fri, 11 Dec 2009) | 1 line Tweaked plugin template not to reference /Users/luc. ........ r20114 | extempore | 2009-12-12 16:13:22 +0100 (Sat, 12 Dec 2009) | 4 lines Took advantage of package object fix to factor the duplicated code out of scala.Math and scala.math.`package`. This required a new starr which exposes inherited package object members (starr is based on r20110.) ........ r20124 | rytz | 2009-12-14 13:01:53 +0100 (Mon, 14 Dec 2009) | 1 line integration of java and scala deprecation ........ r20129 | odersky | 2009-12-14 18:12:17 +0100 (Mon, 14 Dec 2009) | 1 line lost of documentation and some small adjustments to collection classes. ........ r20133 | extempore | 2009-12-15 01:07:59 +0100 (Tue, 15 Dec 2009) | 1 line Another round of deprecation warning elimination. ........ r20137 | extempore | 2009-12-15 15:23:33 +0100 (Tue, 15 Dec 2009) | 1 line Eliminating the deprecation warnings in the actor library. ........ r20138 | moors | 2009-12-15 15:47:35 +0100 (Tue, 15 Dec 2009) | 2 lines closes #2778: need to refresh normalize cache when length of type parameters changes -- thanks to Jason Zaugg for the diagnosis review by odersky ........ r20139 | michelou | 2009-12-15 17:19:47 +0100 (Tue, 15 Dec 2009) | 2 lines corrected @usecase and imports in plugin example ........ r20140 | odersky | 2009-12-15 18:43:00 +0100 (Tue, 15 Dec 2009) | 1 line more docs. noreview. ........ r20142 | extempore | 2009-12-15 21:22:34 +0100 (Tue, 15 Dec 2009) | 3 lines Lots of work on repl completion. Many more cases handled correctly, much greater effort made to hide undesirable implementation-only names and offer interesting identifiers. ........ r20143 | extempore | 2009-12-15 21:22:44 +0100 (Tue, 15 Dec 2009) | 1 line Moved takeDestructively into GroupedIterator. ........ r20149 | extempore | 2009-12-16 16:30:29 +0100 (Wed, 16 Dec 2009) | 1 line Removed an inapplicable comment with no review. ........
* Updated (all) copyright notices to 2009Antonio Cunei2009-01-131-1/+1
|
* fixed 1275 by adding minimal early check to Nam...Adriaan Moors2007-08-221-0/+14
fixed 1275 by adding minimal early check to Namers so that overriding of type members in refinements cannot change number of type parameters (in principle the full overriding checks should be performed at a later point, when they don't cause cyclicity errors -- this is TODO)