What    |Removed                     |Added
                 CC|                            |
           Platform|x86                         |All
         OS/Version|Windows                     |All

--- Comment #1 from 2011-03-30 10:29:23 PDT ---
I also hit this bug but on Linux and I suppose it fails on all platforms.

My test code is

auto foo()
body { // does not compile if body is specified
    return 0;

void main() {}

It fails with latest dmd (v2.052)
test.d(2): function declaration without return type. (Note that constructors
are always named 'this')
test.d(2): no identifier for declarator foo()

This bug makes using contracts and auto return type impossible. Maybe it's
importance should therefore be increased.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to