Mercurial > projects > ldc
annotate tests/mini/compile_rawvardeclinfinally.d @ 864:2025c9a24efd
Adjust error message for missing toConstExp to include 'is not a const exp'.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 20 Dec 2008 09:13:44 +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(); } } |