Applied patch from Jan Limpens 'ReflectionBasedDictionaryAdapter needs to check if...
[castle.git] / Tools / NVelocity / test / templates / foreach-introspect.vm
blob7ffda4a7d1d1fc4284beae6dba7331d6292fd6f7
1 ##
2 ## tests a difficult introspection problem -
3 ## the iterator is a private inner class
4 ##
6 #set($array = [1..10])
7 #set($it = $array.GetEnumerator())
9 #foreach($num in [21..30])
10 #set ($moved = $it.MoveNext())
11    $num $it.Current
12 #end