From 05228439f3f8c4690a93bb3a29a3ff37ac5ec1c7 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Wed, 23 Nov 2005 15:35:51 +0000 Subject: updated comment --- sources/scala/tools/nsc/typechecker/SyntheticMethods.scala | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sources') 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 -- cgit v1.2.3