[svn] r6523: nemerle/trunk/ncc/testsuite/frommcs/test-294.n

nazgul svnadmin at nemerle.org
Tue Aug 15 13:29:08 CEST 2006


Log:
Add warnings in testcase

Author: nazgul
Date: Tue Aug 15 13:29:06 2006
New Revision: 6523

Modified:
   nemerle/trunk/ncc/testsuite/frommcs/test-294.n

Modified: nemerle/trunk/ncc/testsuite/frommcs/test-294.n
==============================================================================
--- nemerle/trunk/ncc/testsuite/frommcs/test-294.n	(original)
+++ nemerle/trunk/ncc/testsuite/frommcs/test-294.n	Tue Aug 15 13:29:06 2006
@@ -13,13 +13,13 @@
 
 	[Obsolete()]
 	public this()
-	{  this("layout", false);
+	{  this("layout", false); // W: method Test..ctor.* is obsolete
 	}
 
 	[Obsolete()]
 	public this( a : string, _writeToErrorStream :  bool)
 	{
-		Name = a;
+		Name = a; // W: property `Test.Name' is obsolete
 	}
 
 	[Obsolete()]
@@ -33,23 +33,23 @@
 [Obsolete]
 public class DerivedTest : Test
 {
-         mutable  member : ObsoleteClass;
+         mutable  member : ObsoleteClass; // W: ObsoleteClass is obsolete
     
         [Obsolete]
 	public this( a : string)
-        {  base(a, false);
-		Name = a;
+        {  base(a, false); // W: method Test..* is obsolete
+		Name = a; // W: property `Test.Name' is obsolete
 	}
         
         public Method () :  string
         {
-             base.Name;
+             base.Name; // W: property `Test.Name' is obsolete
         }
         
         public static Main () :  void {}
 }
 
-[Obsolete]
+[Obsolete] // W: ObsoleteClass is obsolete
 class ObsoleteClass2: ObsoleteClass
 {
 }



More information about the svn mailing list