title: InvalidArrayLen layout: article

InvalidArrayLen occurs when an array length is not a constant value.

Example:
 var n = 3
 var _ = [n]int{}