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

jaymmartin

  • Community Member
  • Posts: 57
  • 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: 6862
  • Hero Points: 528
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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
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.