You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something that would make error output a lot more readable is if table types like '({1:string, 2:string, 3:string, 4:string, 5:string, 6:string, 7:string, 8:string, 9:string, 10:string, 11:string, 12:string, 13:string, 14:string, 15:string, 16:string})'
could be shortened to something like '({1 .. 16: string})'.
So the compiler would be writing a shorthand for the correct type specification.
If this (or similar) became a valid way of specifying types in TL as well, that would be a bonus.
The text was updated successfully, but these errors were encountered:
More specifically, I think in the case where a table is an array to a single type specification then this shorthand should be displayed. If it's more general at displaying this then that's a bonus.
Something that would make error output a lot more readable is if table types like
'({1:string, 2:string, 3:string, 4:string, 5:string, 6:string, 7:string, 8:string, 9:string, 10:string, 11:string, 12:string, 13:string, 14:string, 15:string, 16:string})'
could be shortened to something like
'({1 .. 16: string})'
.So the compiler would be writing a shorthand for the correct type specification.
If this (or similar) became a valid way of specifying types in TL as well, that would be a bonus.
The text was updated successfully, but these errors were encountered: