[Issue 14360] DMD should compile SDC test0156.d

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Mar 29 02:16:57 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14360

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to ag0aep6g from comment #3)
> (In reply to Shammah Chancellor from comment #2)
> > Has the spec changed with regards to this?
> 
> I don't know if the spec maybe changed at some point. Could be that a naked
> function/method symbol without parentheses was treated as a function pointer
> / delegate in the distant past. I think they've been calls for at least a
> couple of years, though.

As far as I know (at least from before the D1.000 release), D has always
required address operator to take function pointer / delegate from a function
identifier.

It's definitely a bug in SDC.

--


More information about the Digitalmars-d-bugs mailing list