comparison tests/parser/new_1.d @ 165:7606387b2f0a

Better handling of param checking on method calls.
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 18:24:15 +0200
parents 362265427838
children
comparison
equal deleted inserted replaced
164:ba94fd563548 165:7606387b2f0a
1 class A{this(int y){}int x;}struct B 1 class A{this(int y){}int x;}struct B
2 {}void main(){B b;long x;A a=new A(x);} 2 {}void main(){B b;long x;A a=new A(x);} int x = 5; int foo(){int y = 5; y = y + x * 5; return y;}