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

[][N]byte generates code that does not compile #23

Open
gz-c opened this issue Jan 5, 2019 · 0 comments
Open

[][N]byte generates code that does not compile #23

gz-c opened this issue Jan 5, 2019 · 0 comments

Comments

@gz-c
Copy link

gz-c commented Jan 5, 2019

A field with type [][32]byte will generate code like:

		for k0 := range d.Foo {

			{
				s += 32
			}

		}

The k0 is unused and prevents compilation (go1.11)

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

No branches or pull requests

1 participant