Ask Your Question
0

Why Wing marks multiline tuple of statements as Syntax Error, but debugs and runs it just fine?

asked 2017-11-22 14:22:00 -0500

Mikhail Ninin Velikoselskiy's avatar

updated 2020-01-22 19:54:41 -0500

I hope the screenshot is self-explanatory:

Why are there red squiggle underlines on coma in line 1, on whole line 2 and on ")" in line 3.

There is no syntax error here really! It works just fine in Python and does not show me an error in IDLE Python or in PyCharm.

Please fix it if possible.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-11-22 14:55:00 -0500

This is bug in Wing -- any multiline statement with print as the first token on line 2+ will be underlined with red squiggles.  It should be fixed in the next Wing release.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-11-22 14:22:00 -0500

Seen: 1,980 times

Last updated: Mar 07 '19