-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorten array type in error output #86
Labels
Comments
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. |
This is a very nice idea! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: