Skip to content

E0111: Malformed match ​

A match statement is match subject { followed by case pattern: clauses (and an optional case _:). The statement couldn't be read.

Wrong ​

vuka
match r
case Ok(v): use(v)
vuka
match r {
case Ok(v):
	use(v)
case Err(err):
	log(err)
}

Released under the MIT License. Vuka builds on Go and its tools, which are made by the Go Authors. Vuka is not affiliated with Google or the Go project. Go is a trademark of Google LLC.