Closed GreasySlug closed 2 years ago
This is probably because you put objects of different types into the array.
https://github.com/erg-lang/erg/blob/main/doc/EN/syntax/10_array.md
As written here, it is prohibited by default. Must be typed explicitly.
That said, this is an unintended behavior.
It should report errors normally and give hints to specify type.
Python 3.10.6
erg 0.2.6
Is this intended?