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

Update a chpl-language-server test for additional warning #25437

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

mppf
Copy link
Member

@mppf mppf commented Jul 8, 2024

Follow-up to PR #25125.

That PR moved "same name as the implicit file module" warning to dyno, so it's now present in the warning output for chpl-language-server. Update the test to reflect that.

Reviewed by @DanilaFe - thanks!

  • make test-cls now passes

---
Signed-off-by: Michael Ferguson <[email protected]>
@mppf mppf requested a review from DanilaFe July 8, 2024 17:29
"an implicit module named 'B' is being introduced to contain file-scope code"
in client.diagnostics[docs("B").uri][0].message
)
assert len(client.diagnostics[docs("B").uri]) >= 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recommend setting this to == 2 to catch further added error messages if they occur.

@mppf mppf merged commit 98ca93c into chapel-lang:main Jul 8, 2024
8 checks passed
@mppf mppf deleted the follow-25125-cls branch July 8, 2024 18:31
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

Successfully merging this pull request may close these issues.

2 participants