changeset 1284:96e7be832c35

[Issue 703] New: SuperExp::scanForNestedRef Assertion Oskar Linde <oskar.linde@gmail.com> 2006-12-21 http://d.puremagic.com/issues/show_bug.cgi?id=703
author thomask
date Tue, 26 Dec 2006 14:21:29 +0000
parents 91479703e22e
children 229e630d4b1a
files compile/l/lazy_01_A.d compile/l/lazy_01_B.d compile/l/lazy_01_C.d
diffstat 3 files changed, 51 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/l/lazy_01_A.d	Tue Dec 26 14:21:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Oskar Linde <oskar.linde@gmail.com>
+// @date@	2006-12-21
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=703
+// @desc@	[Issue 703] New: SuperExp::scanForNestedRef Assertion
+
+module dstress.compile.l.lazy_01_A;
+
+class C {
+	void func(uint delegate() x) {
+		func(&super.toHash);
+	}
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/l/lazy_01_B.d	Tue Dec 26 14:21:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Oskar Linde <oskar.linde@gmail.com>
+// @date@	2006-12-21
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=703
+// @desc@	[Issue 703] New: SuperExp::scanForNestedRef Assertion
+
+module dstress.compile.l.lazy_01_B;
+
+class C {
+	void func(lazy uint x) {
+		func(super.toHash());
+	}
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/l/lazy_01_C.d	Tue Dec 26 14:21:29 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Oskar Linde <oskar.linde@gmail.com>
+// @date@	2006-12-21
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=703
+// @desc@	[Issue 703] New: SuperExp::scanForNestedRef Assertion
+
+module dstress.compile.l.lazy_01_C;
+
+class C {
+	void func(lazy uint x) {
+		func(this.toHash());
+	}
+}
+