Kenji Hara <> changed:

           What    |Removed                     |Added
            Summary|(Regression 2.060)          |Assignment of function
                   |Assignment of function      |literal to function pointer
                   |literal to function pointer |variable with non-D linkage
                   |variable with non-D linkage |broken
                   |broken                      |
           Severity|regression                  |enhancement

--- Comment #1 from Kenji Hara <> 2012-09-22 03:23:45 PDT ---
This is not a regression.

In 2.059, this was accidentally allowed by the cause same with bug 8397. It's
already fixed in 2.060.
(Therefore, the call of function pointer f might had been broken in 2.059)

And, lambda type inference does not infer function linkage in current
implementation. Then, (){} is always extern(D), and the error is expected.

But, it is reasonable feature. So I change the importance to 'enhancement'.

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

Reply via email to