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

Implement special handling for init #56

Open
sonalmahajan15 opened this issue Sep 20, 2023 · 0 comments · May be fixed by #253
Open

Implement special handling for init #56

sonalmahajan15 opened this issue Sep 20, 2023 · 0 comments · May be fixed by #253
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sonalmahajan15
Copy link
Contributor

Implement special handling for init. Below is an example where a false positive is reported.

var _x *int

func init() {
	_x = new(int)
}

func test() {
	_ = *_x // false positive reported here
}
@sonalmahajan15 sonalmahajan15 added enhancement New feature or request good first issue Good for newcomers labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant