view tests/parser/new_1.d @ 163:362265427838

Fixes to types for constructor and also removed DFunction's from DStruct, DClass and DInterface
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 16:50:47 +0200
parents 0f38f1a0f06f
children 7606387b2f0a
line wrap: on
line source

class A{this(int y){}int x;}struct B
{}void main(){B b;long x;A a=new A(x);}