summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added setup and teardown methods.Iulian Dragos2010-08-231-3/+20
|
* Specialize rhs of specialized fields.Iulian Dragos2010-08-231-1/+4
|
* Don't box class parameters when passed to the s...Iulian Dragos2010-08-231-3/+11
| | | | | | Don't box class parameters when passed to the super constructor, from specialized subclasses.
* Optimized away box(unbox(E)) ===> E.Iulian Dragos2010-08-231-1/+8
|
* Added an overridable setUp method that is calle...Iulian Dragos2010-08-231-0/+7
| | | | | | Added an overridable setUp method that is called prior to each benchmarking (but whose execution time is not measured).
* forgot to update check file after renaming tests.Adriaan Moors2010-08-212-4/+4
|
* closes 2462. better implicit error messages.Adriaan Moors2010-08-2012-20/+128
| | | | | | | | | | | | | | | | | | @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
* closes #3757. got paren wrong during refactoring.Adriaan Moors2010-08-201-1/+1
| | | | | no review
* closes #3575.Adriaan Moors2010-08-209-30/+62
| | | | | | | | | | cloneSymbol now preserves privateWithin -- need to reset it explicitly now when before it was assumed to be not to be carried over rewrote accessibility in overriding checks so they're more readable, but hopefully with same semantics review by odersky
* Discovered ListMap.++ returns a Map instead of ...Paul Phillips2010-08-192-3/+10
| | | | | | | Discovered ListMap.++ returns a Map instead of a ListMap. Does preserving binary compatibility mean we can't fix this sort of thing? Fixing for now, inquiring via: review by odersky.
* Extending sbt capabilities :moix2010-08-199-174/+473
| | | | | | | | - building continuation plugin - building and replacing fjgb, msil and forkjoin - building and replacing starr - layer cleaning tasks
* Fixed build for Java 1.5. No review.Gilles Dubochet2010-08-191-1/+1
|
* [scaladoc] Merges Petr's change to Scaladoc fro...Gilles Dubochet2010-08-1915-183/+689
| | | | | | | | | | | | | [scaladoc] Merges Petr's change to Scaladoc from the Colladoc branch: bugfixes, improvements and refactorings that make it possible to extends Scaladoc into Colladoc. - Layout of index uses jQuery UI panel instead of frameset. - Search boxes have correct width on Firefox. - Scaladoc models the original, untransformed source. - Various internal bugfixes & refactorings. Review by dubochet.
* closes #2788.Adriaan Moors2010-08-193-3/+8
| | | | | | | the added flexibility'll cost ya one ClassManifest review by phaller
* closes #3777.Adriaan Moors2010-08-192-8/+18
| | | | | no review
* Closes #3763. No review.Martin Odersky2010-08-182-2/+7
|
* Closes #3756. No review.Martin Odersky2010-08-182-5/+9
|
* better fix for see #3667.Lukas Rytz2010-08-174-6/+15
|
* use arraycopy not Array.copy in Arraybuffer.siz...Lukas Rytz2010-08-171-1/+1
| | | | | | use arraycopy not Array.copy in Arraybuffer.sizeHint. close #3766, #3767. no review.
* Revert ArrayBuffer's sizeHint as I had a typo a...Lukas Rytz2010-08-161-2/+1
| | | | | | | | Revert ArrayBuffer's sizeHint as I had a typo anyway and it needs more thinking. see #3766, see #3767. This reverts commit bf87118d701df2313a9f680e327ce066765c10d3.
* use arraycopy instead of Array.copy in ArrayBuf...Lukas Rytz2010-08-161-1/+2
| | | | | | use arraycopy instead of Array.copy in ArrayBuffer's sizeHint. close #3766, review by extempore.
* cosmetic fix to GenMSIL. no review.Lukas Rytz2010-08-161-3/+2
|
* remove space from sbt's build/x/ classes direct...Lukas Rytz2010-08-161-1/+1
| | | | | remove space from sbt's build/x/ classes directory. no review.
* documentation for scala.Array.Lukas Rytz2010-08-161-66/+94
|
* doc comment for scala package.Lukas Rytz2010-08-161-0/+3
|
* Since r22186 scripts wait for all non-daemon th...Paul Phillips2010-08-152-6/+14
| | | | | | | | | | | Since r22186 scripts wait for all non-daemon threads to exit before the script will exit (not doing so was the cause of several other bugs involving early script termination) but this means we must be careful not to introduce unnecessary non-daemon threads in the script infrastructure. Two such sources (now fixed) were the shutdown hook which deletes temporary files and the stream consumers used by Process. Closes #3678, review by harrah.
* Overhaul of ScalaRunTime.stringOf.Paul Phillips2010-08-151-21/+38
| | | | | | | | material changes are a) deferring to the target object's toString method on custom collections, so now only built-in collections receive special treatment, and b) guarding against runaways and inappropriate exceptions, falling back on toString. Closes #3710, Review by prokopec.
* Revert "closes #3757.Adriaan Moors2010-08-144-32/+5
| | | | | | | Martin's review indicated this needs a better solution. This reverts commit 6a62875b08f8a2c80aefee313f86429b2793ee2e.
* closes #3757.Adriaan Moors2010-08-144-5/+32
| | | | | | | | (I verified the added access check does not increase time for ant test-opt) review by odersky
* closes #3691.Adriaan Moors2010-08-144-104/+155
| | | | | | | | TODO: clean this up, introduce datatypes to denote kinds, split checkKindBounds into kind inference and subkind checking review by odersky
* closes #3663.Adriaan Moors2010-08-136-18/+63
| | | | | | | | | | | | | | 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
* closes #3419: test filesAdriaan Moors2010-08-135-8/+28
| | | | | | | | | | | | 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
* for MSIL: Previous changesets were applied more...Miguel Garcia2010-08-1321-106/+1062
| | | | | | | | | | for MSIL: Previous changesets were applied more-or-less incrementally to scala-msil, this changeset brings them all together to scala trunk. Next stop will be supporting CLR valuetypes (another big one). Afterwards (once emitted .NET bytecode passes peverify) changesets will become more manageable in size. Well, no, there's generics coming. But believe me, soon MSIL changesets will get smaller in size.
* [Scaladoc] Fixes a bug in defaultValues display...chrisJames2010-08-121-6/+9
| | | | | | [Scaladoc] Fixes a bug in defaultValues display ('new A' now creates a link on A). Review by dubochet
* [Scaladoc] Improve the documentation of primary...chrisJames2010-08-126-50/+119
| | | | | | | | | | | | [Scaladoc] Improve the documentation of primary constructor. Adds a @constructor for commenting the primary constructor. It also adds some comments for the primary constructor (@params, @deprecated) which are initialised in the class comment. Members that come from primary constructor parameters (val parameters or parameters of a case class) are listed as members with the comment given using the @param tag (closes #254, closes #577). Case class signature now begins by 'case class' instead of 'class'. Review by dubochet
* Fixed type soundness problem someone raised on ...Martin Odersky2010-08-124-46/+100
| | | | | | Fixed type soundness problem someone raised on hackers news. Test in override.scala. Review by moors.
* Changes in docs and layout. No review.Martin Odersky2010-08-122-4/+5
|
* Correct fix for see #3726.Lukas Rytz2010-08-111-0/+7
|
* different approach to manifests of type par...Adriaan Moors2010-08-103-17/+29
| | | | | | | | | 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
* closes #3676: cycle detection logic in BaseType...Adriaan Moors2010-08-102-41/+40
| | | | | | | | | | | 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
* Added missing file for last checkin.Martin Odersky2010-08-101-0/+6
|
* Fixes #3728. No review.Martin Odersky2010-08-103-11/+19
|
* Removed duplicate classes. No review.Martin Odersky2010-08-101-10/+0
|
* fix an msil bug (code gen of exception handlers).Lukas Rytz2010-08-103-0/+23
|
* An overhaul of checkSensible.Paul Phillips2010-08-104-102/+208
| | | | | | | | gives fewer insensible warnings about actually sensible things, etc. Large test case with 30 warnings elicited. Closes #282 (again), no review.
* update doc of option. close #3737.Lukas Rytz2010-08-091-43/+118
|
* close #7226.Lukas Rytz2010-08-093-2/+10
|
* close #3709. no review.Lukas Rytz2010-08-091-1/+1
|
* closes #3582: typedTypeDef needs to run in a ne...Adriaan Moors2010-08-096-6/+33
| | | | | | | | | | | | | | | | | 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
* Modified r22702 to avoid tarring overloads with...Paul Phillips2010-08-072-6/+25
| | | | | | Modified r22702 to avoid tarring overloads with the same brush. No review.