Author Topic: Java incomplete symbol chain (CAS-65031-TV86)  (Read 1389 times)

Marcel

  • Senior Community Member
  • Posts: 218
  • Hero Points: 26
Java incomplete symbol chain (CAS-65031-TV86)
« on: August 22, 2014, 02:15:39 pm »
SE cannot find method references that go through an interface, even though it seems to do a brute force source file scan trying to find them.

interface if: amethod();
class impl: implements if, declares amethod()
class ref: accesses amethod() through if.


Expected search result, when looking up "amethod" from within "impl"
impl ----> if ---> ref
Got:
impl




Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2738
  • Hero Points: 419
Re: Java incomplete symbol chain (CAS-65031-TV86)
« Reply #1 on: August 22, 2014, 02:25:37 pm »
I'll look into it.  For the record, here is the real code I used to reproduce it.  Real code examples make reproducing bugs much easier than pseudo-code.

Code: [Select]
interface ifInterface {
    void amethod();
};
class impl: implements ifInterface {
    void amethod() {
    }
}
class ref {
    void another(ifInterface b) {
        b.amethod();
    }
}

Marcel

  • Senior Community Member
  • Posts: 218
  • Hero Points: 26
Re: Java incomplete symbol chain (CAS-65031-TV86)
« Reply #2 on: August 22, 2014, 02:55:03 pm »
Yeah - but what would have meant more work for me   :)
Actually, there was a sample project attached to the case I filed. Glad you could repro the problem.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2738
  • Hero Points: 419
Re: Java incomplete symbol chain (CAS-65031-TV86)
« Reply #3 on: August 22, 2014, 06:36:10 pm »
This will be fixed in the next beta drop.  Thanks for the report.