# HG changeset patch # User thomask # Date 1169559999 0 # Node ID 0028188af4330348ae239500844c69d550302e9e # Parent 54d2cf6154ba956dd7c333977de68b1d28ac68cb [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. Tyler Knott 2007-01-22 http://d.puremagic.com/issues/show_bug.cgi?id=872 diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_A.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_A; + +class Outer{ + class Inner{ + this() { + typeof(this.outer) x; + static assert(Outer == typeof(x)); + } + } +} diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_B.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_B; + +class Outer{ + class Inner{ + void foo() { + typeof(this.outer) x; + static assert(Outer == typeof(x)); + } + } +} diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_C.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_C.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_C; + +class Box{ + class Outer{ + class Inner{ + void foo() { + typeof(this.outer) x; + static assert(Outer == typeof(x)); + } + } + } +} diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_D.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_D.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_D; + +class Box{ + class Outer{ + class Inner{ + void foo() { + typeof(this.outer.outer) x; + static assert(Box == typeof(x)); + } + } + } +} diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_E.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_E.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_E; + +class Box{ + class Outer{ + class Inner{ + void foo() { + Box b = this.outer.outer; + } + } + } +} diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_F.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_F.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_F; + +class Box{ + class Outer{ + class Inner{ + void foo() { + Outer b = this.outer; + } + } + } +} diff -r 54d2cf6154ba -r 0028188af433 compile/o/outer_02_G.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/outer_02_G.d Tue Jan 23 13:46:39 2007 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Tyler Knott +// @date@ 2007-01-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=872 +// @desc@ [Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes. + +module dstress.compile.o.outer_02_G; + +class Outer{ + class Inner{ + void foo() { + Outer b = this.outer; + } + } +} diff -r 54d2cf6154ba -r 0028188af433 reporter.txt --- a/reporter.txt Tue Jan 23 13:46:14 2007 +0000 +++ b/reporter.txt Tue Jan 23 13:46:39 2007 +0000 @@ -141,6 +141,7 @@ Tim Keating Tintor Marko Tomasz Stachowiak(aka Tom S / h3r3tic / heretic) +Tyler Knott Tyro Unknown W. Brackets Uwe Salomon