view nocompile/bug_e2ir_814.d @ 1515:516ef5730874

[Issue 1108] Indexing an int[] not evaluatable at compile time Reiner Pope <reiner.pope@gmail.com> 2007-04-07 http://d.puremagic.com/issues/show_bug.cgi?id=1108
author thomask
date Wed, 25 Apr 2007 17:47:00 +0000
parents 52c9e86b6486
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	larrycowan <larrycowan_member@pathlink.com>
// @date@	2004-11-04
// @uri@	news:cmd9i4$16g5$1@digitaldaemon.com
// @uri@	nntp://digitalmars.com/digitalmars.D/12279

// __DSTRESS_ELINE__ 17

static void dummy(...){
}

class Foo{
	static this(){
		Foo.display_name();
	}

	void display_name(){
		dummy(super.classinfo.name);
	}
}