import some_mod

struct ChanFieldType {
	c chan some_mod.Type
}

struct FSMEvent {
	x int
}

fn abc(n FSMEvent) {
}

fn (e FSMEvent) abc(n FSMEvent) {
}

fn (e FSMEvent) x(ch chan FSMEvent) {
}

fn produce_events(ch chan FSMEvent) {
}

fn main() {
	ch_fsm_events := chan FSMEvent{cap: 1000}
	eprintln('ch_fsm_events.len: ${ch_fsm_events.len}')
	eprintln('ch_fsm_events.cap: ${ch_fsm_events.cap}')
}
