title: NotAnExpr layout: article

NotAnExpr occurs when a type expression is used where a value expression
is expected.

Example:
 type T struct {}

 func f() {
 	T
 }