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

Warn about usage of default(Either) / default(EitherOrBoth) / default(Result) #668

Open
bash opened this issue Sep 13, 2022 · 0 comments
Open
Labels
area: Analyzer enhancement New feature or request

Comments

@bash
Copy link
Member

bash commented Sep 13, 2022

defaulted instances of these types are in an invalid state and will throw on inspection.

Maybe with an attribute:
[DefaultInitializedInstancesAreInvalid]

@bash bash added enhancement New feature or request area: Analyzer labels Sep 13, 2022
@bash bash changed the title Warn about usage of default(Either)/default(EitherOrBoth)/default(Result)` Warn about usage of default(Either) / default(EitherOrBoth) / default(Result)` Sep 13, 2022
@bash bash changed the title Warn about usage of default(Either) / default(EitherOrBoth) / default(Result)` Warn about usage of default(Either) / default(EitherOrBoth) / default(Result) Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Analyzer enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant