Mercurial > projects > ldc
view tangotests/e.d @ 329:8c1dc3e705da trunk
[svn r350] Fixed incorrect function types for lazy arguments. looks like lazy arguments have never even worked :o well.. now they should.
author | lindquist |
---|---|
date | Fri, 11 Jul 2008 01:34:04 +0200 |
parents | 68a7dd38c03c |
children |
line wrap: on
line source
extern(C) int printf(char*,...); class MyClass { this(int i = 4) { inner = this.new InnerClass; } class InnerClass : Object.Monitor { void lock() {} void unlock() {} } InnerClass inner; } void func() { scope c = new MyClass(42); } void main() { func(); }