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

Variant type may not be intentional #27

Closed
retailcoder opened this issue Nov 13, 2014 · 1 comment
Closed

Variant type may not be intentional #27

retailcoder opened this issue Nov 13, 2014 · 1 comment
Labels
duplicate Thanks for the feedback! We're already tracking this report/request at the linked issue. feature-inspections

Comments

@retailcoder
Copy link
Member

[Warning]

In multiple declarations, a common mistake is to only declare the type for the last identifier:

Dim foo, bar As String

This declares foo as a Variant. Recommend explicit typing:

Dim foo As Variant, bar As String
@retailcoder retailcoder added this to the Code Inspections milestone Nov 13, 2014
@retailcoder retailcoder added the duplicate Thanks for the feedback! We're already tracking this report/request at the linked issue. label Dec 2, 2014
@retailcoder
Copy link
Member Author

really, same as #30. closing.

retailcoder added a commit that referenced this issue Feb 10, 2016
sync with merged PR's in main repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Thanks for the feedback! We're already tracking this report/request at the linked issue. feature-inspections
Projects
None yet
Development

No branches or pull requests

2 participants