Mercurial > projects > dstress
changeset 1616:7b7967dd4203
More auto -> scope changes.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 17:14:44 +0200 |
parents | 8d5c55d163fd |
children | 2c10afcfcf76 |
files | run/bug_tocsym_217_01.d run/bug_tocsym_217_02.d run/bug_tocsym_217_04.d run/destructor_01.d run/destructor_03.d run/switch_19.d run/switch_21.d run/with_11.d |
diffstat | 8 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/run/bug_tocsym_217_01.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/bug_tocsym_217_01.d Sun Jul 12 17:14:44 2009 +0200 @@ -14,7 +14,7 @@ } int main(){ - auto A a = new A(); + scope A a = new A(); try{ }catch(Exception e){
--- a/run/bug_tocsym_217_02.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/bug_tocsym_217_02.d Sun Jul 12 17:14:44 2009 +0200 @@ -12,7 +12,7 @@ } int main(){ - auto A a = new A(); + scope A a = new A(); try{ }catch(Exception e){
--- a/run/bug_tocsym_217_04.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/bug_tocsym_217_04.d Sun Jul 12 17:14:44 2009 +0200 @@ -14,7 +14,7 @@ } int main(){ - auto A a = new A(); + scope A a = new A(); try{ }catch(Exception e){
--- a/run/destructor_01.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/destructor_01.d Sun Jul 12 17:14:44 2009 +0200 @@ -25,7 +25,7 @@ class ClassB : ClassA {} void test(){ - auto ClassB b = new ClassB(); + scope ClassB b = new ClassB(); }
--- a/run/destructor_03.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/destructor_03.d Sun Jul 12 17:14:44 2009 +0200 @@ -24,7 +24,7 @@ int main(){ try{ - auto MyClass m = new MyClass(); + scope MyClass m = new MyClass(); assert(status == 1); delete m; }catch(Exception e){
--- a/run/switch_19.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/switch_19.d Sun Jul 12 17:14:44 2009 +0200 @@ -13,7 +13,7 @@ } int main(char[][] args){ - auto T t=new T(); + scope T t=new T(); switch(args.length){ case 1:
--- a/run/switch_21.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/switch_21.d Sun Jul 12 17:14:44 2009 +0200 @@ -12,7 +12,7 @@ } int main(char[][] args){ - auto T t=new T(); + scope T t=new T(); switch(args.length){ case 1:
--- a/run/with_11.d Sun Jul 12 16:44:52 2009 +0200 +++ b/run/with_11.d Sun Jul 12 17:14:44 2009 +0200 @@ -9,11 +9,11 @@ module dstress.run.with_11; -auto class AutoClass{ +scope class ScopeClass{ } int main(){ - auto AutoClass ac = new AutoClass(); + scope ScopeClass ac = new ScopeClass(); with(ac){ }