[svn] r5933: nemerle/trunk/ncc/testsuite/negative/where-constraints1.n

nazgul svnadmin at nemerle.org
Mon Nov 14 19:05:50 CET 2005


Log:
Do not allow duplicate constraints on generic parameters - testcase

Author: nazgul
Date: Mon Nov 14 19:05:42 2005
New Revision: 5933

Added:
   nemerle/trunk/ncc/testsuite/negative/where-constraints1.n   (contents, props changed)

Added: nemerle/trunk/ncc/testsuite/negative/where-constraints1.n
==============================================================================
--- (empty file)
+++ nemerle/trunk/ncc/testsuite/negative/where-constraints1.n	Mon Nov 14 19:05:42 2005
@@ -0,0 +1,2 @@
+class A ['a] where 'a : System.IComparable ['a], System.IComparable ['a] { // E: constraint `System.IComparable.*' is already declared for 'a
+}
\ No newline at end of file



More information about the svn mailing list