Mercurial > projects > dstress
view compile/o/outer_02_B.d @ 1339:0028188af433
[Issue 872] Assertion in expression.c caused by taking typeof of "this.outer" in nested classes.
Tyler Knott <tknott@gmail.com>
2007-01-22
http://d.puremagic.com/issues/show_bug.cgi?id=872
author | thomask |
---|---|
date | Tue, 23 Jan 2007 13:46:39 +0000 |
parents | |
children | 902d2c168029 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Tyler Knott <tknott@gmail.com> // @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)); } } }