Author Topic: Tagging lookup problem with using.  (Read 1436 times)

jaymmartin

  • Community Member
  • Posts: 51
  • Hero Points: 8
Tagging lookup problem with using.
« on: September 30, 2015, 09:00:43 pm »
<header.h>
namespace N1 {
class C1 { };
}

<other.cpp>
#include "header.h"
namespace N2 {
using N1::C1;
//...
class C2: public C1 { };   // (*)
}

Symbol lookup on C1 at line (*)  produces error "Database record not found".

Note: Does same thing in 2014 but with no error message.


« Last Edit: September 30, 2015, 09:08:08 pm by jaymmartin »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4690
  • Hero Points: 378
Re: Tagging lookup problem with using.
« Reply #1 on: September 30, 2015, 11:43:25 pm »
Interesting. List members works all ways I tried (ex. "void foo() { C1 c1; c1.<list displayed> }"), but go to symbol doesn't no matter what I tried.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2664
  • Hero Points: 410
Re: Tagging lookup problem with using.
« Reply #2 on: October 01, 2015, 06:22:31 pm »
Good catch.  There was a bug in the routine that removed duplicate symbol matches.  Will be fixed in the next beta drop.