]> git.llucax.com Git - software/druntime.git/commitdiff
fix scope
authorwalter <walter@4a9d5153-6564-4b3f-b5e1-7e8e9dac548f>
Thu, 6 Nov 2008 09:58:20 +0000 (09:58 +0000)
committerwalter <walter@4a9d5153-6564-4b3f-b5e1-7e8e9dac548f>
Thu, 6 Nov 2008 09:58:20 +0000 (09:58 +0000)
git-svn-id: http://svn.dsource.org/projects/druntime/trunk@45 4a9d5153-6564-4b3f-b5e1-7e8e9dac548f

src/compiler/dmd/dmain2.d

index 29ac5ef580b5db037a557100cacd72764198c03a..15c46d2f3946efea7d7747f3d5a159536bffaaee 100644 (file)
@@ -286,7 +286,7 @@ extern (C) int main(int argc, char **argv)
 
     bool trapExceptions = rt_trapExceptions;
 
-    void tryExec(void delegate() dg)
+    void tryExec(scope void delegate() dg)
     {
 
         if (trapExceptions)