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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 8 18:13:47 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=850


Ellery Newcomer <ellery-newcomer at utulsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ellery-newcomer at utulsa.edu


--- Comment #3 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2011-12-08 18:13:43 PST ---
alias doesn't seem to be any better.

dmd 2.056 64 bit linux,

alias JNINativeInterface_* JNIEnv;

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

compiled results in 

foo.d(8): Error: no property 'FindClass' for type 'JNINativeInterface_*'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list