changeset 1202:51b79a31a82a

[Issue 414] New: interfaces shouldn't be able to inheit from classes david <davidl@126.com> 2006-10-09 news:bug-414-3@http.d.puremagic.com/issues/
author thomask
date Sat, 21 Oct 2006 13:28:19 +0000
parents 33827ceb71dd
children 3658e354d3bd
files nocompile/i/interface_25_A.d nocompile/i/interface_25_B.d reporter.txt
diffstat 3 files changed, 45 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/i/interface_25_A.d	Sat Oct 21 13:28:19 2006 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	david <davidl@126.com>
+// @date@	2006-10-09
+// @uri@	news:bug-414-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 414] New: interfaces shouldn't be able to inheit from classes
+
+// __DSTRESS_ELINE__ 19
+
+module dstress.nocompile.i.interface_25_A;
+
+class A{
+	void foo(){
+	}
+}
+
+interface I : A{
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/i/interface_25_B.d	Sat Oct 21 13:28:19 2006 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	david <davidl@126.com>
+// @date@	2006-10-09
+// @uri@	news:bug-414-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 414] New: interfaces shouldn't be able to inheit from classes
+
+// __DSTRESS_ELINE__ 23
+
+module dstress.nocompile.i.interface_25_B;
+
+interface A{
+	void foo();
+}
+
+class B : A{
+	void foo(){
+	}
+}
+
+interface I : B{
+}
--- a/reporter.txt	Sat Oct 21 13:28:10 2006 +0000
+++ b/reporter.txt	Sat Oct 21 13:28:19 2006 +0000
@@ -39,6 +39,7 @@
 D Trebbien
 Daniel Horn		<hellcatv@hotmail.com>	
 Dave			<godaves@yahoo.com>
+david			<davidl@126.com>
 David Friedman		<d3rdclsmail_a_@_t_earthlink_d_._t_net>, <dvdfrdmn@users.sf.net>
 David L. Davis		<SpottedTiger@yahoo.com>
 David Medlock		<amedlock@nospam.org>, <noone@nowhere.com>