Mercurial > projects > dstress
changeset 1440:5224177dd804
r7388@birke: tk | 2007-03-29 15:55:00 +0200
is -> static is
author | thomask |
---|---|
date | Sat, 31 Mar 2007 08:25:50 +0000 |
parents | ff8d07dc1454 |
children | 8888892dd50e |
files | run/i/is_11_G.d run/i/is_12_H.d run/i/is_13_A.d |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/run/i/is_11_G.d Sat Mar 31 08:25:36 2007 +0000 +++ b/run/i/is_11_G.d Sat Mar 31 08:25:50 2007 +0000 @@ -11,8 +11,8 @@ void function() T; int main(){ - if(!is(T == function)){ - assert(0); + static if(!is(typeof(T) == function)){ + static assert(0); } return 0;