Bug introduced in 11.1.0 and fixed in 11.3.0
The code
M = Flatten[Table[Flatten[Transpose[{{1, a, a, -1}[[i]]
UnitVector[4, i]}].{{1, a, a, -1}[[j]]
UnitVector[4, j]}], {i, 1, 4}, {j, 1, 4}], 1]
creates the diagonal matrix with diagonal
{1,a,a,-1,a,a^2,a^2,-a,a,a^2,a^2,-a,-1,-a,-a,1}
However, in Mathematica 11.2, Eigenvalues[M]
returns me
{-1,-a,-a,-1,-a,-a,a,a,a,a,a,a,a,a^2,a^2,a}
Is this only me or is it a bug? In Mathematica 11.0.x, it works fine.