Mercurial > projects > ldc
annotate tangotests/a.d @ 275:665b81613475 trunk
[svn r296] Removed: the 'suite' dir, it never took off!
Fixed: foreach statement, key-type checks were buggy.
Fixed: setting LLVMDC versions on the command line is now an error.
Fixed: array compare runtime had incorrect param attrs on call.
Fixed: index expressions on dynamic array slices w/o storage was broken.
Fixed: scope classes had incorrect finalization in some cases.
Fixed: when outputting !ClassInfoS !OffsetTypeInfoS, static class members were trying to be included, crashing the compiler.
Fixed: calling LLVMDC with -inline but not any -O option caused assertion failure.
Changed: the runtime now uses a single interface to "get" to !TypeInfoS, part of eliminating duplicate !TypeInfo codegen.
author | lindquist |
---|---|
date | Thu, 19 Jun 2008 17:30:32 +0200 |
parents | 4c577c2b7229 |
children |
rev | line source |
---|---|
132 | 1 class Foo |
2 { | |
3 this(int j) | |
4 { | |
5 i = pi = j; | |
6 } | |
7 | |
8 int i; | |
9 | |
10 private: | |
11 | |
12 int pi; | |
13 } | |
14 | |
15 class Bar : Foo | |
16 { | |
17 this(int j) | |
18 { | |
19 super(j); | |
20 baz = 42; | |
21 } | |
22 | |
23 int baz; | |
24 } | |
25 | |
26 void func() | |
27 { | |
28 auto bar = new Bar(12); | |
29 } | |
149
4c577c2b7229
[svn r155] Fixed a bunch of linkage problems (especially with templates)
lindquist
parents:
132
diff
changeset
|
30 |
4c577c2b7229
[svn r155] Fixed a bunch of linkage problems (especially with templates)
lindquist
parents:
132
diff
changeset
|
31 void main() |
4c577c2b7229
[svn r155] Fixed a bunch of linkage problems (especially with templates)
lindquist
parents:
132
diff
changeset
|
32 { |
4c577c2b7229
[svn r155] Fixed a bunch of linkage problems (especially with templates)
lindquist
parents:
132
diff
changeset
|
33 func(); |
4c577c2b7229
[svn r155] Fixed a bunch of linkage problems (especially with templates)
lindquist
parents:
132
diff
changeset
|
34 } |