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

iota with Expressions #41

Closed
moeshin opened this issue Oct 11, 2023 · 0 comments · Fixed by #44
Closed

iota with Expressions #41

moeshin opened this issue Oct 11, 2023 · 0 comments · Fixed by #44

Comments

@moeshin
Copy link
Contributor

moeshin commented Oct 11, 2023

package test_tygo

const (
	A = iota
	B
)

const (
	C = 1 << iota
	D
)
// Code generated by tygo. DO NOT EDIT.

//////////
// source: type.go

export const A = 0;
export const B = 1;
export const C = 1 << iota;
export const D = 1 << iota;
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 a pull request may close this issue.

1 participant