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

Specify constant types except with iota #884

Merged
merged 1 commit into from
Jan 19, 2022
Merged

Conversation

skitt
Copy link
Contributor

@skitt skitt commented Jan 18, 2022

Constant types need to be repeated, unless iota is used or the
constants are declared in the same expression
(const A, B, C Type = 1, 2, 3). See
https://go.dev/ref/spec#Constant_declarations for details.

Signed-off-by: Stephen Kitt steve@sk2.org

Constant types need to be repeated, unless iota is used or the
constants are declared in the same expression
(const A, B, C Type = 1, 2, 3). See
https://go.dev/ref/spec#Constant_declarations for details.

Signed-off-by: Stephen Kitt <steve@sk2.org>
@johnkerl johnkerl merged commit 5212159 into johnkerl:main Jan 19, 2022
@johnkerl
Copy link
Owner

Awesome, thanks @skitt !!

johnkerl added a commit that referenced this pull request Jan 19, 2022
johnkerl added a commit that referenced this pull request Jan 19, 2022
johnkerl added a commit that referenced this pull request Jan 19, 2022
* More of #884

* More of #884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants