import io { Writer }

struct Abc implements Writer, Writer, Writer {
	aaa string
}

fn (a Abc) write(buf []u8) !int {
	return 42
}

// vfmt off
struct Def implements Writer, io.Writer {
	aaa string
}
// vfmt on

fn (a Def) write(buf []u8) !int {
	return 42
}
