digitalmars.D.learn - Error: need 'this' to access member i
- Ary Manzana (16/16) Sep 27 2007 Since we are adding semantic analysis to Descent and we'd like to test
- Ary Manzana (3/22) Oct 02 2007 Anyone?
- Jarrett Billingsley (6/28) Oct 02 2007 It may be a function which, for reasons beyond me, may exist in the
Since we are adding semantic analysis to Descent and we'd like to test it as much as possible, we'll use dstress (at least the tests that pass). I'll be checking which errors gives DMD, and expect the same results (with source range information for Descent, and some internal IDs for each of the possible problems). Compiling nocompile\a\alias_28_A.d gives me: alias_28_A.d(16): Error: need 'this' to access member i But Descent doesn't give me an error. So I wanted to see where this error is reported in DMD's code, but I can't find it. I've search for: - "need - to access - access member - need 'this' with no results. Does anyone knows where is this error reported? Thanks, Ary
Sep 27 2007
Anyone? Walter? :-P Ary Manzana wrote:Since we are adding semantic analysis to Descent and we'd like to test it as much as possible, we'll use dstress (at least the tests that pass). I'll be checking which errors gives DMD, and expect the same results (with source range information for Descent, and some internal IDs for each of the possible problems). Compiling nocompile\a\alias_28_A.d gives me: alias_28_A.d(16): Error: need 'this' to access member i But Descent doesn't give me an error. So I wanted to see where this error is reported in DMD's code, but I can't find it. I've search for: - "need - to access - access member - need 'this' with no results. Does anyone knows where is this error reported? Thanks, Ary
Oct 02 2007
"Ary Manzana" <ary esperanto.org.ar> wrote in message news:fdtvav$2dcq$1 digitalmars.com...Anyone? Walter? :-P Ary Manzana wrote:It may be a function which, for reasons beyond me, may exist in the oh-so-secretive backend. See (if you can) if GDC gives the same/similar error, and if so, search through its source.Since we are adding semantic analysis to Descent and we'd like to test it as much as possible, we'll use dstress (at least the tests that pass). I'll be checking which errors gives DMD, and expect the same results (with source range information for Descent, and some internal IDs for each of the possible problems). Compiling nocompile\a\alias_28_A.d gives me: alias_28_A.d(16): Error: need 'this' to access member i But Descent doesn't give me an error. So I wanted to see where this error is reported in DMD's code, but I can't find it. I've search for: - "need - to access - access member - need 'this' with no results. Does anyone knows where is this error reported? Thanks, Ary
Oct 02 2007