List invalid syntax in compiler error