Implicitly add all "in" instance variables to each constructor's arg list
commitcacd21e63f69a4d4e3df180ceec423d53736ff2d
authorThomas Leonard <talex5@gmail.com>
Wed, 17 Sep 2008 15:04:49 +0000 (17 16:04 +0100)
committerThomas Leonard <talex5@gmail.com>
Wed, 17 Sep 2008 15:09:16 +0000 (17 16:09 +0100)
tree4baaa4d3c885d5ca4348fa851ab740aaf774f3fb
parentb6dec4febbac956087ba2042eb065c344b98cc95
Implicitly add all "in" instance variables to each constructor's arg list

Also insert an assignment. e.g

class Foo:
in Thing thing

this(int x):
...

becomes

class Foo:
Thing thing

this(int x, Thing thing):
this.thing = thing
...

Conflicts:

dmd/class.c
dmd/class.c
dmd/func.c