Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to find call to method on object of type "auto" #1429

Open
Jacob-Burckhardt opened this issue Dec 8, 2021 · 0 comments
Open

fails to find call to method on object of type "auto" #1429

Jacob-Burckhardt opened this issue Dec 8, 2021 · 0 comments

Comments

@Jacob-Burckhardt
Copy link

When the cursor is placed on "joe", and rtags-find-references-at-point is run, rtags fails to find the call in the lambda body:

struct Blob {
   int joe() {
      return [](auto blob){ return blob.joe(); } (Blob{});
   }
};

int main() {
   return Blob{}.joe();
}

Expected behavior
Make it find the call in the lambda body.

Environment (please complete the following information):

  • OS/Version: Debian 11.1
  • RTags(rdm,rc): 2.41.134
  • Emacs: 27.1
  • LLVM/Clang: LLVM 1:11.0-51+nmu5 and Debian clang version 11.0.1-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant