http://d.puremagic.com/issues/show_bug.cgi?id=850
Lukasz Wrzosek <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Lukasz Wrzosek <[email protected]> 2012-02-15 08:31:12 PST --- Checked dmd(In reply to comment #3) > 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_*' This case is wrong. variable env is of type JNINativeInterface_** so compiler rejects invalid code correctly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
