Skip to content

No matching member function for call to 'readBytes' #603

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

Open
AndreKR opened this issue Nov 12, 2021 · 2 comments
Open

No matching member function for call to 'readBytes' #603

AndreKR opened this issue Nov 12, 2021 · 2 comments
Assignees
Labels
topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@AndreKR
Copy link

AndreKR commented Nov 12, 2021

Describe the bug
The function readBytes() has a wiggly line under it and in the tooltip there is an error:

No matching member function for call to 'readBytes'

The code compiles without warnings despite the alleged error.

To Reproduce
Steps to reproduce the behavior:

  1. Open this example from the official ESP32 Arduino core
  2. Look in line 75

Actual behavior

There is a wiggly line under stream->readBytes:
image

Expected behavior
No wiggly line.

Desktop (please complete the following information):

  • OS: Windows
  • Version: 2.0.0-beta.12
@AndreKR AndreKR added the type: imperfection Perceived defect in any part of project label Nov 12, 2021
@per1234 per1234 added the topic: language server Related to the Arduino Language Server label Nov 12, 2021
@cmaglie
Copy link
Member

cmaglie commented Dec 9, 2021

@AndreKR I cannot reproduce with the latest language server, but I didn't try with the previous release.

Could you try this build? https://github.com/arduino/arduino-ide/actions/runs/1559080827
Which board did you select?

@AndreKR
Copy link
Author

AndreKR commented Dec 10, 2021

I'm still seeing it with that build.

image

I didn't reinstall the boards because 2.0.1 still seems to be the latest available.

The selected board doesn't seem to make a difference, but it's "ESP32 Dev Module".

cmaglie added a commit to arduino/arduino-language-server that referenced this issue Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants