annotate run/t/tuple_24_A.d @ 1525:ce8c04d69094

[Issue 1114] Indexed tuple cannot be used in inheritance declaration Reiner Pope <reiner.pope@gmail.com> 2007-04-08 http://d.puremagic.com/issues/show_bug.cgi?id=1114
author thomask
date Fri, 27 Apr 2007 17:29:59 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1525
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
1 // $HeadURL$
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
2 // $Date$
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
3 // $Author$
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
4
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
5 // @author@ Reiner Pope <reiner.pope@gmail.com>
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
6 // @date@ 2007-04-08
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1114
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
8 // @desc@ [Issue 1114] Indexed tuple cannot be used in inheritance declaration
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
9
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
10 module dstress.run.t.tuple_24_A;
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
11
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
12 template Tuple(T...){
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
13 alias T Tuple;
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
14 }
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
15
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
16 alias Tuple!(Object) Foo;
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
17
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
18 class Bar : Foo[0]{
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
19 }
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
20
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
21 int main(){
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
22 Bar b = new Bar();
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
23 return 0;
ce8c04d69094 [Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff changeset
24 }