`iota` with Expressions
moeshin opened this issue · comments
MoeShin commented
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;