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

Better test for the predefined "any" type #7

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Conversation

bobg
Copy link
Owner

@bobg bobg commented Feb 25, 2024

This PR checks that the use of any as a type name actually refers to the predefined type introduced in Go 1.18 and doesn't simply denote a (user-defined) empty interface.

Copy link

Modver result

This report was generated by Modver,
a Go package and command that helps you obey semantic versioning rules in your Go module.

This PR does not require a change in your module’s version number.
(You might still consider bumping the patchlevel anyway.)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8039285660

Details

  • 0 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 61.794%

Totals Coverage Status
Change from base Build 7817575698: 0.0%
Covered Lines: 820
Relevant Lines: 1327

💛 - Coveralls

@bobg bobg merged commit 894e723 into main Feb 25, 2024
1 check passed
@bobg bobg deleted the bobg/predefined-any branch February 25, 2024 16:24
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.

None yet

2 participants