Skip to content

W-18989201 fix: file parsing bug #6405

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

Merged
merged 2 commits into from
Jul 10, 2025
Merged

W-18989201 fix: file parsing bug #6405

merged 2 commits into from
Jul 10, 2025

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Jul 8, 2025

What does this PR do?

fix a types bug that probably causes apex test diagnostics to not be applied to a file. I don't know how to reproduce this or exactly what it should look like, but I know the code is wrong!

What issues does this PR fix or reference?

@W-18989201@

@mshanemc mshanemc requested a review from a team as a code owner July 8, 2025 17:26
@mshanemc mshanemc requested a review from randi274 July 8, 2025 17:26
)
.flat()
// parsing to string for set to dedupe, then back to URI
.map(uri => uri.toString())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this slipped by the compiler because without flat you have URI[] instead of URI

BUT array has a toString method so the compiler thought this was fine.

Copy link
Contributor

@daphne-sfdc daphne-sfdc left a comment

Choose a reason for hiding this comment

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

Before:
Screenshot 2025-07-10 at 9 39 57 AM

After:
Screenshot 2025-07-10 at 9 38 58 AM

@daphne-sfdc daphne-sfdc merged commit e7ebbc9 into develop Jul 10, 2025
8 checks passed
@daphne-sfdc daphne-sfdc deleted the sm/apex-run-bug branch July 10, 2025 13:53
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