Community
Participate
Working Groups
The search engine does not find the declaration of a method parameter. An example below. int x(a) { a = 2 + 2; //searching for the declaration of 'a' returns nothing. } All local variables (in this case 'a') should have declarations but the search engine returns none.
should not 'a' have a type? This declaration looks invalid. Therefore I doubt that this is stored in the search engine. Frederic, any comment?
(In reply to comment #1) > should not 'a' have a type? > This declaration looks invalid. Therefore I doubt that this is stored in the > search engine. > Frederic, any comment? > Sorry, yes, it should read void x(int a)
Example revised: class A { void x(a) { a = 2 + 2; //searching for the declaration of 'a' returns nothing. } }
Example revised (again, sorry!): class A { void x(int a) { a = 2 + 2; //searching for the declaration of 'a' returns nothing. } }
Search Engine should be able to find local variable declarations. I'll investigate...
Created attachment 53655 [details] Proposed patch
Released for 3.3 M4 in HEAD.
Verified for 3.3M4 with I20061212-0010.
Changing OS from Mac OS to Mac OS X as per bug 185991