comparison test/foreach6.d @ 52:0c77619e803b trunk

[svn r56] Initial support for TypeInfo. Enums not work. Several other bugfixes.
author lindquist
date Tue, 23 Oct 2007 05:55:12 +0200
parents 61bc1b4ad3c4
children
comparison
equal deleted inserted replaced
51:61bc1b4ad3c4 52:0c77619e803b
6 float f; 6 float f;
7 } 7 }
8 8
9 void main() 9 void main()
10 { 10 {
11 S[4] arr; 11 S[4] arr = void;
12 foreach(i,v;arr) { 12 foreach(i,v;arr) {
13 v = S(i,i*2.5); 13 v = S(i, i*2.5);
14 } 14 }
15 } 15 }