Thank you all.
Tharwat: it's true, it was my mistake in transcribing the list in the second way
Lee Mac: the list is built correctly with both instructions, the error occurs when I run a formatting command, while in the thread mentioned the list was not accepted
Vovka: the same happens to me too, so I'm fully convinced it's a bug