Mercurial > projects > ldc
view test/bug2.d @ 162:1856c62af24b trunk
[svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked...
author | lindquist |
---|---|
date | Mon, 05 May 2008 00:56:53 +0200 |
parents | 92408a3a2bac |
children |
line wrap: on
line source
module bug2; struct Vec { Vec barf() { return Vec(); } } class test { this(Vec whee) { } } void main() { Vec whee; new test(whee.barf()); }