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

lint/underef_checker.go: add array support #46

Closed
fexolm opened this issue May 9, 2018 · 2 comments
Closed

lint/underef_checker.go: add array support #46

fexolm opened this issue May 9, 2018 · 2 comments
Assignees
Labels
help wanted Extra attention is needed
Milestone

Comments

@fexolm
Copy link
Contributor

fexolm commented May 9, 2018

We need to add functionality to unwrap expressions like:
(*a)[5] ===> a[5]
Note: it should be done just for arrays, not slices.

@fexolm fexolm added the help wanted Extra attention is needed label May 9, 2018
@fexolm fexolm changed the title lint/underef_checker.go add array support lint/underef_checker.go: add array support May 9, 2018
@quasilyte
Copy link
Member

quasilyte commented May 9, 2018

This will definitely require types.Info. :)

@fexolm
Copy link
Contributor Author

fexolm commented May 9, 2018

Who knows :D

@fexolm fexolm self-assigned this May 14, 2018
fexolm added a commit that referenced this issue May 14, 2018
@fexolm fexolm added this to the v0.2 milestone May 14, 2018
@fexolm fexolm closed this as completed in 9430ca2 May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants