Add "square bracket list literal" to grammar #1981
Labels
enhancement
Enhancement of existing feature
language
Related to the syntax and semantics of LF
python
Related to the Python target
Milestone
I'm not sure to whom to assign this. Please help.
I'm trying to update Expressions.md for Python, and I have found several problems. Consider the following program:
According to the documentation,
param
is supposed to be a tuple andx
is supposed to be a list. But they are both lists. The output is:The formatter also messes up with the above code. It gives these warnings:
I try to fix the syntax, and the formatter changes it right back! (in VS code, it does this when I save the file).
If I fix the syntax in another editor to get this:
then the compilation fails:
The text was updated successfully, but these errors were encountered: