view lphobos/typeinfos2.d @ 1226:00f377e03423

Fix a problem which occurred when a function type was forward-referenced by parameter types. This was intended to fix the following test case: {{{ void delegate(Hit) dg; struct Hit { void delegate(Hit) a; } }}} which ChristianK reduced from a problem downs had on IRC. It also seems to fix mini/compile_delegate.d (which turns out to be quite similar, but produced a different error message).
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 19 Apr 2009 23:15:03 +0200
parents 288fe1029e1f
children
line wrap: on
line source

module typeinfos2;

import
typeinfo2.ti_AC,
typeinfo2.ti_Adouble,
typeinfo2.ti_Afloat,
typeinfo2.ti_Ag,
typeinfo2.ti_Aint,
typeinfo2.ti_Along,
typeinfo2.ti_Areal,
typeinfo2.ti_Ashort,
typeinfo2.ti_C;