Hi guys, I have a const table which I want to know if all of the values, referenced in the code exist at compile time.
Example:
const myTable = {
1: 14.cint,
2: 23.cint
3: 4.cint,
}.toTable()
echo myTable[33] # <-- Can I get a compile time error here?
Is it possible to get an compile-time error in the last line? Or is it better
to use a different object for this purpose? Also is there a way to define the
table values as **cint** without using **.cint** after every value declaration?
Thanks.
