Skip to content

Conversation

@jkurdek
Copy link
Collaborator

@jkurdek jkurdek commented Apr 9, 2024

No description provided.

public class DiagnosticsTests
{
[Fact]
[Fact(Skip = "Improve detecting overloads")]
Copy link
Owner

Choose a reason for hiding this comment

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

What's wrong with the test? Does it report wrong diagnostic?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As we based our overload detection on checking the type of the arguments now it will report that we are using a wrong overload as the second argument is not lambda.

Copy link
Owner

Choose a reason for hiding this comment

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

OK. It's acceptable that it reports BSG0004 for now. Let's deal with this later and merge it as is.

@simonrozsival simonrozsival merged commit 8eb99d9 into simonrozsival:binding-source-generator Apr 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants