Open stepelu opened 8 years ago
Hi Stefano,
of course this need to be fixed. The validator for the table was broken when I merged some proposition of @gnois. We forgot to update the ast-validate stuff.
I am not sure it can be fixed without updating the various check functions, do you confirm?
According to
ast-validate.lua
, Tables are expected to be described in terms of thearray_entries
,hash_keys
andhash_values
properties.However,
lua-ast.lua
generates Tables as with a singlekeyvals
property which is essentially a list of pairs.As such the validation of AST trees containing Tables is currently failing.