diff options
author | Burak Emir <emir@epfl.ch> | 2005-11-23 15:35:51 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2005-11-23 15:35:51 +0000 |
commit | 05228439f3f8c4690a93bb3a29a3ff37ac5ec1c7 (patch) | |
tree | e0c840f327b60df52f1ab35f533bffed0d06afa8 /sources | |
parent | 657c0cb4f12a575918c586280fdd36a3623f431e (diff) | |
download | scala-05228439f3f8c4690a93bb3a29a3ff37ac5ec1c7.tar.gz scala-05228439f3f8c4690a93bb3a29a3ff37ac5ec1c7.tar.bz2 scala-05228439f3f8c4690a93bb3a29a3ff37ac5ec1c7.zip |
updated comment
Diffstat (limited to 'sources')
-rwxr-xr-x | sources/scala/tools/nsc/typechecker/SyntheticMethods.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sources/scala/tools/nsc/typechecker/SyntheticMethods.scala b/sources/scala/tools/nsc/typechecker/SyntheticMethods.scala index 0667124eef..224558237d 100755 --- a/sources/scala/tools/nsc/typechecker/SyntheticMethods.scala +++ b/sources/scala/tools/nsc/typechecker/SyntheticMethods.scala @@ -8,6 +8,15 @@ package scala.tools.nsc.typechecker; import symtab.Flags._; import util.ListBuffer; +/** + * - caseArity, caseElement implementations added to case classes + * - equals, and hashCode and toString methods are added to case classes, + * unless they are defined in the class or a baseclass + * different from java.lang.Object + * - toString method is added to case objects, + * unless they are defined in the class or a baseclass + * different from java.lang.Object +*/ [_trait_] abstract class SyntheticMethods: Analyzer { import global._; // the global environment import definitions._; // standard classes and methods |