[Issue 850] we need (*type).property to refer to property if we use typedef

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 19 04:53:36 UTC 2018


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #5 from Mathias LANG <pro.mathias.lang at gmail.com> ---
```
alias JNINativeInterface_* JNIEnv;

struct JNINativeInterface_ {
    int FindClass;
}
void main(){
    JNIEnv env;
    auto x = env.FindClass;
}
```

Compiles just fine. Since we don't have Typedef anymore, closing.

--


More information about the Digitalmars-d-bugs mailing list