Mercurial > projects > ldc
annotate tests/mini/compile_rawvardeclinfinally.d @ 834:f466f475b654
Added proper "need 'this' to access member foo" errors instead of "variable foo not resolved" for some cases, added FIXME for the old error!
Added a bit more information to the runtime's cyclic dependency detection exception.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 09 Dec 2008 01:56:39 +0100 |
parents | 5696a7167b21 |
children | 8baf611f0009 |
rev | line source |
---|---|
773
5696a7167b21
Fix RawVarDecl double codegen bug. Thanks to downs for the testcase.
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
1 void foo() { void delegate()[] bar; try {} finally { foreach (dg; bar) dg(); } } |