title: InvalidDelete layout: article

InvalidDelete occurs when the delete built-in function is called with a
first argument that is not a map.

Example:
 func f() {
 	m := "hello"
 	delete(m, "e")
 }