From 090c86383eb33e7b1befa55f9ee16b7352d3510c Mon Sep 17 00:00:00 2001 From: walter Date: Thu, 6 Nov 2008 09:58:20 +0000 Subject: [PATCH] fix scope git-svn-id: http://svn.dsource.org/projects/druntime/trunk@45 4a9d5153-6564-4b3f-b5e1-7e8e9dac548f --- src/compiler/dmd/dmain2.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/dmd/dmain2.d b/src/compiler/dmd/dmain2.d index 29ac5ef..15c46d2 100644 --- a/src/compiler/dmd/dmain2.d +++ b/src/compiler/dmd/dmain2.d @@ -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) -- 2.43.0