Parser warning for using EllipsisNotation: (..) as …
: “parentheses are not required here”
#54351
Labels
parser
Language parsing and surface syntax
Running the following file (which intentionally has invalid syntax at the end to trigger the syntax warning, which doesn’t seem to appear otherwise?):
gives a warning on the line
using EllipsisNotation: .. as …
(in addition to the syntax error):However, the parentheses do seem to be required, as evidenced by what happens when omitting them:
Resulting error:
versioninfo()
:The text was updated successfully, but these errors were encountered: