Mercurial > projects > ldc
annotate tests/mini/imports2.d @ 490:f8c979770af3
Fixed a critical bug in the runtime, where _d_allocmemoryT would mark
the memory block as having pointers (for scanning) opposite of what it
should. So pointers would not be seen and freed. Should fix a bunch of
regressions with AAs.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 17:28:01 +0200 |
parents | 1bb99290e03a |
children |
rev | line source |
---|---|
17
6c6cd097bcdf
[svn r21] * Fixed local instances of imported templates
lindquist
parents:
16
diff
changeset
|
1 module imports2; |
16
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
2 import std.stdio; |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
3 |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
4 void main() { |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
5 writefln("Hello world!"[]); |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
6 } |