summaryrefslogtreecommitdiff
path: root/src/library/scala/Product.scala
Commit message (Collapse)AuthorAgeFilesLines
* Correct off-by-one error in Product documentation (#5148)Janek Bogucki2016-05-111-1/+1
|
* cleanup @throws tags in library and reflectAntoine Gourlay2014-11-051-1/+1
| | | | | - there is no need for explicit links with [[ and ]] - there is no need for explicit backquoting
* Updated copyright to 2013Carlo Dapor2013-01-021-1/+1
|
* More relative path elimination.Paul Phillips2012-09-151-1/+1
| | | | | | | | | | | | | | | | Some names I missed in 55b609458fd . How one might know when one is done: mkdir scratch && cd scratch mkdir annotation beans collection compat concurrent io \ math parallel ref reflect runtime scala sys testing \ text tools util xml scalac $(find ../src/library -name '*.scala') Until recently that would fail with about a billion errors. When it compiles, that's when you're done. And that's where this commit takes us, for src/library at least.
* Address doc comment rot in the standard library.Jason Zaugg2012-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | - Match @param/@tparam names to the actual parameter name - Use @tparam for type parameters - Whitespace is required between `*` and `@` - Fix incorrect references to @define macros. - Use of monospace `` and {{{}}} (much more needed) - Remove `@param p1 ...` stubs, which appear in the generated docss. - But, retainsed `@param p1` stubs, assuming they will be filtered from the generated docs by SI-5795. - Avoid use of the shorthand `@param doc for the solitary param` (which works, but isn't recognized by the code inspection in IntelliJ I used to sweep through the problems) The remaining warnings from `ant docs` seem spurious, I suspect they are an unintended consequence of documenting extension methods. [scaladoc] /Users/jason/code/scala/src/library/scala/collection/TraversableOnce.scala:181: warning: Variable coll undefined in comment for method reduceOption in class Tuple2Zipped [scaladoc] def reduceOption[A1 >: A](op: (A1, A1) => A1): Option[A1] = reduceLeftOption(op) [scaladoc] ^
* Fixes to value classes: Flags now double definitions, private constructors ↵Martin Odersky2012-03-061-1/+1
| | | | as errors. Fixed erasure scheme.
* Next collections commit from Todd Vierling.Paul Phillips2011-11-071-1/+1
| | | | | Changes to library code outside the collections.
* Removing the code which has been deprecated sin...Paul Phillips2011-08-151-3/+0
| | | | | | | Removing the code which has been deprecated since 2.8.0. Contributed by Simon Ochsenreither, although deleting code is such fun one hesitates to call it a contribution. Still, we will. Closes SI-4860, no review.
* 2nd round of clean ups (see r25285)michelou2011-07-151-10/+10
|
* Adds "since" field to @deprecated.Paul Phillips2011-04-141-1/+1
| | | | | | for the patch, as it's a change I've always wanted. Moving up in the glamorous world of scala commits! No review.
* Working on the documentation of core classes.Paul Phillips2011-04-011-17/+19
| | | | | | | | withdraw some of the goodness I banked a while ago with the AnyVal types. Started on what will culminate in the total elimination of SourcelessComments. Cleaned up the docs on ancient classes like Product. More to come. No review.
* Updated copyright notices to 2011Antonio Cunei2011-01-201-1/+1
|
* Applied patch from davetron5000, improving docu...Iulian Dragos2010-11-241-8/+9
| | | | | | Applied patch from davetron5000, improving documentation on ProductN and FunctionN traits. Closes #4021.
* Removed a few instances of redundant or dead co...Paul Phillips2010-05-241-15/+0
| | | | | | | Removed a few instances of redundant or dead code, most of which was marked as waiting for a new starr which has long since arrived. No review.
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-121-1/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* Half-disabled productElementName until I have t...Paul Phillips2010-03-191-0/+3
| | | | | | | Half-disabled productElementName until I have time to reimplement it more to martin's liking. ("Half" because full disabling is not possible until starr has forgotten about it.) No review.
* Added productElementName to Product.Paul Phillips2010-02-231-1/+13
| | | | | | | | | | | | | | | case class field names your heart desires. Review by odersky. scala> case class Foo[T](kilroy: String, burma: List[T], shave: Seq[Int]) defined class Foo scala> Foo("was here", List('myanmar), Seq(25, 25)) res0: Foo[Symbol] = Foo(was here,List('myanmar),List(25, 25)) scala> 0 to 2 map (res0 productElementName _) res1: IndexedSeq[String] = IndexedSeq(kilroy, burma, shave)
* Updated copyright notices to 2010Antonio Cunei2009-12-071-1/+1
|
* Restoring an embarassingly large quantity of de...Paul Phillips2009-11-191-0/+3
| | | | | | Restoring an embarassingly large quantity of deprecated methods whose time had not yet come.
* More deprecation work.Paul Phillips2009-11-181-3/+0
| | | | | | since 2.7.2 (still except for lower case primitive type aliases) and removes every deprecated method which has never shipped in a release.
* fix cyclic reference errors in scaladoc.Lukas Rytz2009-11-041-2/+0
|
* changed standard library so that it does not re...Martin Odersky2009-10-281-0/+2
| | | | | | | | changed standard library so that it does not rely in scala package object in initial bootstrap of Predef. Disabled reading scala package during that bootstrap. This is an attempt to solve the cyclic reference errors in #2501.
* Made canEqual abstract in Product and only inse...Paul Phillips2009-09-111-7/+0
| | | | | | | Made canEqual abstract in Product and only inserted into case classes if no concrete implementation is inherited. Restored the disabled canEquals usages in collections.
* Massive redesign so that: scala> "hi" == "hi".r...Martin Odersky2009-09-101-2/+2
| | | | | | Massive redesign so that: scala> "hi" == "hi".reverse.reverse gives: res0: Boolean = true Preparing to do similar things to arrays.
* add @since scaladoc tag to scala.* typesstepancheg2009-08-131-0/+1
| | | | | only for classes created after Scala 1.4
* rewrite of positions in compilerMartin Odersky2009-07-301-0/+1
|
* Implementation and test cases for canEqual meth...Paul Phillips2009-07-091-0/+6
| | | | | | | Implementation and test cases for canEqual method in case classes. Now the autogenerated equality method inquires with the argument as to whether other.canEqual(this) before returning true.
* big overhaul of annotations implementation.Lukas Rytz2009-05-301-3/+2
|
* In "Iterable" and in all its subclasses, "itera...Gilles Dubochet2009-05-271-1/+5
| | | | | | In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
* Updated copyright notices to 2009Antonio Cunei2009-01-091-1/+1
|
* updates to scalax collections and standard libr...Martin Odersky2008-12-091-0/+7
| | | | | updates to scalax collections and standard library classes.
* fixed some typos in the scaladoc commentsLex Spoon2008-04-071-5/+5
|
* removed deprecated featuresmichelou2007-12-191-14/+1
|
* updated element/arity to productElement/product...michelou2007-04-191-6/+6
| | | | | updated element/arity to productElement/productArity
* renamed arity=>productArity,element=>productEle...Burak Emir2007-04-121-2/+15
| | | | | renamed arity=>productArity,element=>productElement
* more fun with positions, and updated docBurak Emir2006-11-281-2/+2
|
* removed CaseClassBurak Emir2006-11-061-3/+3
|
* caseclass->productBurak Emir2006-11-051-0/+42