Future implementation of table support and Initializer List #148
stefanos82
started this conversation in
General
Replies: 2 comments 6 replies
-
By the way, is it possible to improve the output for The code above produces the following output
The Can we extend the aforementioned flag to include each analyzed file with pull path? |
Beta Was this translation helpful? Give feedback.
6 replies
-
When tables get implemented, the following will be equivalent: local t = {}
local t: auto = {}
local t: table = {} That is, untyped initializer lists will be assumed to be tables, thus we will have similar semantics as Lua when using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the following code
can be seen the use of initializer list with an inferred sized array.
My question is, when table gets implemented, will there be a workaround to avoid ambiguity between table and initializer list?
For instance, in the above code we might have something like
Beta Was this translation helpful? Give feedback.
All reactions