[Issue 14693] @property return type not generated in .di file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 12 14:42:22 UTC 2018


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |FIXED

--- Comment #4 from RazvanN <razvan.nitu1305 at gmail.com> ---
This has been fixed. Running the .di generator on the original post results in
the following .di file:

// D import file generated from 'test.d'
struct A
{
        @property foo()
        {
                return 42;
        }
}

which is correct D compilable code. Closing as fixed.

--


More information about the Digitalmars-d-bugs mailing list