-
Notifications
You must be signed in to change notification settings - Fork 13
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
v3.0.0 #41
Conversation
95faf2b
to
1a03bf9
Compare
Could this be |
in case you proposing that |
Definitely the former :) |
This issue occurred irrelevant, but still worth adding tests for it
As of issues with generics and unnamed initializations linter have been completely refactored - it is easier to treat it a ground-up new linter:
WithStack
traversal - it is simplified and improved detection of structure being initialized within return statement.fix: Generic struct is ignored #39
close: fix: validate generics #40
fix: exhaustruct doesn't detect properties not defined in slice expressions #32
Previously: type is matched even if match is partial.
Now: type is matched only if it is a full match of full type name (including the package name).
Previously: analyzer constructor exposed on
/pkg/analyzer
subpath.Now: analyzer constructor exposed on
/analyzer
subpath.Previously: nested structures initialization within error-containing return have been allowed to stay unintialized.
pkgName.typ2 is missing field A
Previously:
A, B, C, D ..., Z are missing in TestType
Now:
pkgName.TestType is missing fields A, B, C, D ..., Z